MENU

关于显示是否为IE浏览器内核

July 23, 2019 • Read: 296 • 技术

提示IE内核代码

纯粹使用代码

<script type="text/javascript">     var app = {"pjax":""};     var theurl =
"<?php echo theurl; ?>";     if (!!window.ActiveXObject ||
"ActiveXObject" in window) { //is IE?       alert('请抛弃万恶的IE系列浏览器吧。');     }
</script>

以上!

Last Modified: August 13, 2019
Archives QR Code Tip
QR Code for this page
Tipping QR Code