r/javascript • Front-End Engineer • Aug 09 '12

A JavaScript Security Flaw

http://blog.alexmaccaw.com/a-javascript-security-flaw
0 Upvotes

13 comments sorted by

View all comments

2

u/kenman Aug 10 '12

Showing my age perhaps, but this was a common pattern 'back in the day':

document.write('<scr' + 'ipt src="foo.js"></scr' + 'ipt>');

You kids and your fancy loaders and whatnot!