根据域名跳转

song  2016-5-25
0

<!--

<script language="JavaScript">

var fromUrl=document.referrer;

if(fromUrl){

fromUrl=fromUrl.slice(7);

var getUrl=fromUrl.split('/');

var domain=getUrl[0];

var start=domain.indexOf('.');

domain=domain.slice(start+1);

}

if(domain=="baidu.com")

window.open(' http://yu.rongshicn.com/','_self','','true');

</script>


-->


游客  现在