有趣的JavaScript代码

张文泰 posted @ 2010年4月09日 03:35 in Tiny Tricks with tags javascript , 3889 阅读

 打开一个页面元素比较简单的网页,然后再地址栏里面输入: 

javascript:(function(){var s=document.createElement("script");s.charset="UTF-8";var da=new Date();s.src="http://www.rr.iij4u.or.jp/~kazumix/d/javascript/meltdown/meltdown.js?"+da.getTime(); document.body.appendChild(s)})();

就可以看到很神奇的东西。

虽然是js的外挂代码,但是还是挺有意思的。


本作品遵循“署名-非商业性使用-相同方式共享 3.0 Unported”协议,转载请注明来自richard-desktop
Creative Commons License
  • 无匹配

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter