Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
jQueryIsAwesome
13y ago
0 comments
Save
Share
Don't use unescape, is ugly and is not required if you break the close tag of "script".
this.jQuery||document.write('<script src="js/jquery-1.8.3.min.js"></sc'+'ript>')
0 comments
2 comments · 1 top-level
top
newest
oldest
crescentfresh
13y ago
· 1 in thread
Yes, also document.write('\x3Cscript>\x3C/script>'). But these are beside the point.
jQueryIsAwesome
OP
13y ago
Well; I also think this is going offtopic but I have to mention "unescape" is not a JS standard but it is available in most JS engines; in the other hand literal Unicode codes in strings are part of the ES specification.
j
/
k
navigate · click thread line to collapse