每次打开U校园都会弹出环境检测,这个东西真的非常烦。
屏蔽方法
前往GreasyFork下载脚本:
https://greasyfork.org/zh-CN/scripts/380349
脚本源码:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
(function() { 'use strict'; function addCSS(){ var cssText = "";
cssText += "#layui-layer-shade1{display: none !important;}";
var modStyle = document.querySelector('#modCSS'); if (modStyle === null) { modStyle = document.createElement('style'); modStyle.id = 'modCSS'; document.body.appendChild(modStyle); } modStyle.innerHTML = cssText; } })();
|
将该脚本放到油猴脚本插件中并启用。