A8DOG

A8DOG

随便写写,记录折腾过程!
telegram

站群访客跳转到主站

    <script LANGUAGE="Javascript">
    function GetUrlRelativePath()
{
  var url = document.location.toString();
  var arrUrl = url.split("//");

  var start = arrUrl[1].indexOf("/");
  var relUrl = arrUrl[1].substring(start);

  if(relUrl.indexOf("?") != -1){
    relUrl = relUrl.split("?")[0];
  }
  return relUrl;
}
  var s=document.referrer
  if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("so")>0 )
  location.href="https://www.baidu.com" + GetUrlRelativePath();
  </script>
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.