Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mibbitier
13y ago
0 comments
Save
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.