百度竞价,实现js跳转

var referrerUrl=document.referrer;
var str=referrerUrl.split(".")
if(str[1]=="baidu"){ //如果是真的话
 window.location.href="http://"+window.location.host+'/sh.html';
 }
posted @ 2018-09-29 13:36  为了自己  阅读(722)  评论(0编辑  收藏  举报