mask fix screen

Fix screen gray display problem

目前为 2020-07-09 提交的版本,查看 最新版本

// ==UserScript==
// @name         mask fix screen
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Fix screen gray display problem
// @author       jackdizhu
// @match        *
// @include      *
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
let isTOP = window.top === window
if (!isTop) {
    return false
}
let $div = document.createElement('div')
$div.style = `
position: fixed;
pointer-events: none;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: #eee;
opacity: 0.1;
z-index: 999999999;
`
document.body.appendChild($div)
})();