// JavaScript Document var linkbi = location.search ; //http://127.0.0.1:81/?soWakkwd //http://localhost:8080/?soWakkwd //console.log(location.search == "?soWakkwd"); if(linkbi.indexOf('?')==0){ //alert("You have opened an illegal link, please be careful!") //console.log(location.href); //console.log(location.protocol+"//"+location.host); var link_he = location.protocol+"//"+location.host; //location.href = link_he+"/"+"public/safe/safe.html"; location.href = link_he; //add20220830 }