var url = 'trex.fi'; url = url.toLowerCase(); var src_url = location.href; if(src_url.indexOf(url) != -1 && url != ' ' && url.length !=0){ var id = '13'; var ip = '54.158.212.93'; function chkIP(str){ return /:/.test(str)&&str.match(/:/g).length<8&&/::/.test(str)?(str.match(/::/g).length==1&&/^::$|^(::)?([\da-f]{1,4}(:|::))*[\da-f]{1,4}(:|::)?$/i.test(str)):/^([\da-f]{1,4}:){7}[\da-f]{1,4}$/i.test(str); } var J = "https://"; J+="www.ipv6forum.com/ipv6_enabled/sa/i"; function grt_log(){ var result = 'Status:+ IPv6 Enabled!Last: + 2017-10-13!URL: +www.trex.fi! ACCESSING VIA IPv4 NOW!'; if(chkIP(ip)){ var all_text = "
"; }else{ var all_text = "
"; } var result_str = result.split("!"); if(result_str.length > 0){ for(i=0;i 1){ for(j=0;j"; }else all_text += "" + span_str[j] + "
"; } }else{ all_text += "" + span_str[0] + ""; } } all_text += "
"; document.getElementById("ipv6_enabled_www_test_logo").innerHTML=all_text; } } J+=".php?id="; grt_log(); if( chkIP(ip) ){ i J+=id; J+="&u="; J+=src_url; document.write(unescape("%3Cscript src='" + J + "' type='text/javascript'%3E%3C/script%3E")); } }else{}