JS屏蔽360瀏覽器代碼

 <script type="text/java script">
if(navigator.userAgent.indexOf("360SE")>0){
    alert('系統檢測出來你使用了360流氓瀏覽器,請先卸載或改用ie(或firefox)等再行訪問本站,謝謝合做!');
    document.execCommand("stop");
    //location.href=http://www.mycodes.net; //注:把location前面的//號去掉後,把後面的網址改爲你的網站,彈出窗口後就會跳到你指定的網址.
}
</script>
相關文章
相關標籤/搜索