老規矩直接貼代碼:url
var url = document.referrer; if (url.indexOf("jiuzhou") >= 0 || url.indexOf("knjt") >= 0 || url.indexOf("pmehd") >= 0 || url.indexOf("localhost:8006") >= 0 || url.indexOf("kncec") >= 0){}else{ window.parent.location = window.location; }
若是有改進方案歡迎指出。spa