mask fix screen

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

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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)
})();