News for hackers. Stuff that matters.
Re:Prism Button by tlrobinson on Monday June 24, 2013 @12:37PM (#5934015)
Just a reminder: you probably shouldn't be placing untrusted third-party JavaScript files on your site.

At least audit and mirror the file on your own server.

Re:Prism Button by paulirish on Monday June 24, 2013 @12:46PM (#5934080)
FYI to anyone considering: the `window.$` global is assigned to `document` in here. Someone would need to refactor the JS before it's safe to consider including.
Re:Prism Button by jiggy2011 on Monday June 24, 2013 @01:02PM (#5934197)
It's also served over standard HTTP, so the script itself could be MITMd even if the original is safe.
Re:Prism Button by sigkill on Monday June 24, 2013 @01:03PM (#5934201)
I'm not a developer of any sort and this is exactly what I was thinking. "What's the guarantee that they don't change the code inside the .js file? I would've already provided them a hardlink and long forgotten about it by the time they start their shenanigans".