feat: There is no way the, bug #55745 #55786 #55815

This commit is contained in:
396572590@qq.com
2022-06-24 18:16:13 +08:00
parent 065961266c
commit deae77876d
4 changed files with 58 additions and 3 deletions
+54 -3
View File
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html class="cloud-login">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -9,15 +9,66 @@
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="expires" content="0">
<title>标准法规管理系统</title>
<script src = "https://cdn.jsdelivr.net/npm/proxy-polyfill@0.3.0/proxy.min.js"></script>
<!-- vconsole调试工具-->
<style>
.logo {
position: absolute;
top: 5.8vh;
left: 9vw;
width: 160px;
height: 61px;background: url("static/images/logo2.png") no-repeat center;
background-position: center left;
background-size: 100% 100%;
}
.cloud-login{
position: relative;
width: 100%;
height: 100%;
background: url("static/images/BG.png");
background-size: 100% 100%; //
background-repeat: no-repeat; //
background-attachment: fixed;
}
#headerId {margin:0;}
h1 {font-family:'Lato',sans-serif;font-weight:300;letter-spacing:2px;font-size:35px;}
p {color: #fff;font-size: 25px;}
.inner-header {height:65vh;width:100%;margin:0;padding:0;}
.flex {display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;}
</style>
<script src="static/polyfill/proxy.min.js"></script>
<!-- vconsole调试工具-->
<!-- <script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script>-->
<!-- <script type="text/javascript">-->
<!-- var vConsole = new VConsole();-->
<!-- </script>-->
<script type="text/javascript">
(function(window) {
var theUA = window.navigator.userAgent.toLowerCase();
if (
// theUA.indexOf('trident') > -1 && theUA.indexOf('rv:11.0') > -1
(theUA.indexOf("compatible") > -1 && theUA.indexOf("msie") > -1) || (theUA.indexOf('trident') > -1 && theUA.indexOf('rv:11.0') > -1)
) {
var str2 = "<div id=\"headerId\" class=\"header\">\n" +
" <div class=\"logo\"></div>\n" +
"\n" +
" <div class=\"inner-header flex\">\n" +
" <p>检测到您使用的是IE浏览器,建议您更换为谷歌浏览器或火狐浏览器</p>\n" +
"<!-- <a id=\"UrlId\" href=\"\">无需等待,点击进入</a>-->\n" +
" </div>\n" +
" </div>";
document.writeln(str2);
console.log("浏览器不合格")
document.execCommand("Stop");
}
else{
console.log("浏览器合格")
}
})(window);
</script>
</head>
<body class="el-drawer-body">
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 510 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

+4
View File
@@ -0,0 +1,4 @@
(function(){function l(){function n(a){return a?"object"===typeof a||"function"===typeof a:!1}var p=null;var g=function(a,b){function f(){}if(!n(a)||!n(b))throw new TypeError("Cannot create proxy with a non-object as target or handler");p=function(){f=function(a){throw new TypeError("Cannot perform '"+a+"' on a proxy that has been revoked");}};var e=b;b={get:null,set:null,apply:null,construct:null};for(var k in e){if(!(k in b))throw new TypeError("Proxy polyfill does not support trap '"+k+"'");b[k]=e[k]}"function"===
typeof e&&(b.apply=e.apply.bind(e));var c=this,g=!1,q=!1;"function"===typeof a?(c=function(){var h=this&&this.constructor===c,d=Array.prototype.slice.call(arguments);f(h?"construct":"apply");return h&&b.construct?b.construct.call(this,a,d):!h&&b.apply?b.apply(a,this,d):h?(d.unshift(a),new (a.bind.apply(a,d))):a.apply(this,d)},g=!0):a instanceof Array&&(c=[],q=!0);var r=b.get?function(a){f("get");return b.get(this,a,c)}:function(a){f("get");return this[a]},v=b.set?function(a,d){f("set");b.set(this,
a,d,c)}:function(a,b){f("set");this[a]=b},t={};Object.getOwnPropertyNames(a).forEach(function(b){if(!((g||q)&&b in c)){var d={enumerable:!!Object.getOwnPropertyDescriptor(a,b).enumerable,get:r.bind(a,b),set:v.bind(a,b)};Object.defineProperty(c,b,d);t[b]=!0}});e=!0;Object.setPrototypeOf?Object.setPrototypeOf(c,Object.getPrototypeOf(a)):c.__proto__?c.__proto__=a.__proto__:e=!1;if(b.get||!e)for(var m in a)t[m]||Object.defineProperty(c,m,{get:r.bind(a,m)});Object.seal(a);Object.seal(c);return c};g.revocable=
function(a,b){return{proxy:new g(a,b),revoke:p}};return g};var u="undefined"!==typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!==typeof navigator&&"ReactNative"===navigator.product?global:self;u.Proxy||(u.Proxy=l(),u.Proxy.revocable=u.Proxy.revocable);})()