Web前端黑客技术揭秘 笔记2
一.模拟用户发起浏览器请求 1.1 GET方式,实际上就是一个URL
var _write=document.write.bind(document);document.write=function(x){if(typeof(x)=='underfined'){return;}_write(x);};var _write=document.write;document.write=function(x){if(typeof(x)=='undefined'){return;}_write.call(document,x);};document.write("<script>alert(1)</script>");