`
ningxiaotao
  • 浏览: 42649 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

NoReferrer

阅读更多
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<BODY>
<SCRIPT LANGUAGE="JavaScript">
<!--
var Browser={
	isWebKit:(/AppleWebKit/.test(navigator.userAgent)),
	isIE:("\v"=="v")
};
function loadImg(url,e){
	url=url+"?"+Math.random()
	e.onerror=null;
	if(Browser.isWebKit || Browser.isIE){
		var i=document.createElement("IFRAME");
		if(Browser.isWebKit){
			var s="javascript:\"<iframe src=\\\"javascript:'<img src=&quot;"+url+"&quot; onload=&quot;setTimeout(parent.frameElement.callback,1000)&quot; onerror=&quot;setTimeout(parent.frameElement.callback,0);&quot;>'\\\"></iframe>\"";
		}else if(Browser.isIE){
			var s="javascript:\"<iframe src=\\\"javascript:'<img src=&quot;"+url+"&quot; onload=&quot;parent.frameElement.callback()&quot; onerror=&quot;parent.frameElement.callback()&quot;>'\\\"></iframe>\"";
		}
		i.style.display="none";
		document.body.appendChild(i);
		i.src=s
		i.callback=function(){return function(){e.src=url;document.body.removeChild(i)}}(e,url,i)
	}else{
		e.src=url;
	}
}
//-->
</SCRIPT>
<img src="about:blank" onerror="loadImg('http://static16.photo.sina.com.cnn/bmiddle/5efd31b8t7b36018e02af&690',this)">
<img src="about:blank" onerror="loadImg('http://static12.photo.sina.com.cn/bmiddle/5d3bfd34h72baa68ed4bb&690',this)">
<img src="about:blank" onerror="loadImg('http://static7.photo.sina.com.cn/bmiddle/5d3bfd34h7b4a82ebb926&690',this)">
</BODY>
</HTML>
 
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics