Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
mibbitier
13y ago
0 comments
Share
That jQuery code is so horrible. What about if CANVAS_WIDTH is from an insecure source? Maybe someone sets it to include some of its own <script> tags or other tomfoolery.
HTML shouldn't feature in javascript code IMHO.
0 comments
No comments yet.