Greasy Fork is available in English.
所有网站开启护眼模式
当前为
// ==UserScript==
// @name eye-protection
// @name:zh-CN 护眼模式
// @noframes true
// @namespace https://github.com/jackdizhu
// @version 0.0.1
// @description:zh-CN 所有网站开启护眼模式
// @description:en All websites turn on eye protection mode
// @author jackdizhu
// @match *
// @include *
// @grant none
// @run-at document-end
// ==/UserScript==
(function() {
'use strict';
var $div = document.createElement('div')
$div.style = `
position: fixed;
pointer-events: none;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: rgb(204, 232, 207);
opacity: 0.2;
z-index: 999999999;
`
document.body.appendChild($div)
})();