mask fix screen

添加水印层,修复联想显示器,灰色色值显示问题

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         mask fix screen
// @name:zh-CN   拯救联想显示器灰色显示问题
// @noframes     true
// @namespace    https://github.com/jackdizhu
// @version      0.5.1
// @description:zh-CN  添加水印层,修复联想显示器,灰色色值显示问题
// @description:en     Fix screen gray display problem
// @author       jackdizhu
// @match        *
// @include      *
// @grant        none
// @run-at       document-end
// @require https://greasyfork.org/scripts/407021-get-os-info/code/get%20os%20info.js?version=826356
// @description 添加水印层,修复联想显示器,灰色色值显示问题
// ==/UserScript==

(function() {
    'use strict';
    if (!window.$os.Windows) {
        return false
    }
    var $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)
})();