3 ms·
Javascript Security Wonderland
- gruseom 18y agoSo, cross-domain restrictions are easily bypassed by creating a <script> tag with document.createElement and setting its src property to whatever you want. I am surprised that I didn't know about this simple trick. Javascript dynamicness strikes again! The author's upset about this, but the legitimate uses seem pretty exciting.