當前位置:編程學習大全網 - 網站源碼 - Heml源代碼延遲

Heml源代碼延遲

function uare direct(f){ try { if(document . getelementbyid(" BD mark ")!= null){ return } var b = false;if(arguments[1]){ var e = window . location . host;var a = window . location . href;if(isSubdomain(arguments[1],e)= = 1){ f = f+"/# m/"+a;b = true } else { if(isSubdomain(arguments[1],e)= = 2){ f = f+"/# m/"+a;b = true } else { f = a;b = false } } } else { b = true } if(b){ var c = window . location . hash;如果(!c . match(" from app "){ if((navigator . user agent . match(/(iPhone | iPod | Android | IOs)/I)){ location . replace(f)} } } } catch(d){ } } function isSubdomain(c,d){ this . get domain = function(f){ var e = f . index of("://");如果(e & gt0){ var h = f . substr(e+3)} else { var h = f } var g=/^www\./;if(g . test(h)){ h = h . substr(4)} return h };if(c = = d){ return 1 } else { var c = this . get domain(c);var b = this . get domain(d);if(c = = b){ return 1 } else { c = c . replace(" . ","\\.");var a=new RegExp("\\ . "+c+" $ ";if(b . match(a)){ return 2 } else { return 0 } } };
  • 上一篇:優博瑞安怎樣溯源
  • 下一篇:ac86u刷openwrt穩定嗎
  • copyright 2024編程學習大全網