mask fix screen

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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