【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”
大哥,这个是javascript来判断的~
我们更狠,直接只允许google浏览器,呵呵
<script type="text/javascript">
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
if (window.ActiveXObject)
Sys.ie = ua.match(/msie ([\d.]+)/)[1]
else if (document.getBoxObjectFor)
Sys.firefox = ua.match(/firefox\/([\d.]+)/)[1]
else if (window.MessageEvent && !document.getBoxObjectFor)
Sys.chrome = ua.match(/chrome\/([\d.]+)/)[1]
else if (window.opera)
Sys.opera = ua.match(/opera.([\d.]+)/)[1]
else if (window.openDatabase)
Sys.safari = ua.match(/version\/([\d.]+)/)[1];
if(Sys.ie){$('body').html("很遗憾,本系统目前不支持您的浏览器,为了更好的使用本系统,请<a href='common/ChromeStandaloneSetup.exe' >点我</a>下载Chrome浏览器")};
</script>
大哥,这个是javascript来判断的~
我们更狠,直接只允许google浏览器,呵呵
<script type="text/javascript">
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
if (window.ActiveXObject)
Sys.ie = ua.match(/msie ([\d.]+)/)[1]
else if (document.getBoxObjectFor)
Sys.firefox = ua.match(/firefox\/([\d.]+)/)[1]
else if (window.MessageEvent && !document.getBoxObjectFor)
Sys.chrome = ua.match(/chrome\/([\d.]+)/)[1]
else if (window.opera)
Sys.opera = ua.match(/opera.([\d.]+)/)[1]
else if (window.openDatabase)
Sys.safari = ua.match(/version\/([\d.]+)/)[1];
if(Sys.ie){$('body').html("很遗憾,本系统目前不支持您的浏览器,为了更好的使用本系统,请<a href='common/ChromeStandaloneSetup.exe' >点我</a>下载Chrome浏览器")};
</script>