您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
为了护眼,将网页背景设置为黑色。功能参考的https://github.com/slc3a2/dimmer
// ==UserScript== // @name 企鹅标注关灯 // @namespace http://tampermonkey.net/ // @version 0.5 // @description 为了护眼,将网页背景设置为黑色。功能参考的https://github.com/slc3a2/dimmer // @author jiyao // @match https://qlabel.tencent.com/* // @match https://yuewen.cn/* // @match https://tencent.github.io/* // @match https://www.latexlive.com/ // @grant none // @license MIT // @require https://code.jquery.com/jquery-2.1.4.min.js // @grant GM_addStyle // ==/UserScript== this.$ = this.jQuery = jQuery.noConflict(true); (function() { 'use strict'; $("html").css({ "filter": "invert(0.9) hue-rotate(180deg)", "transition": "filter 0.8s", "background-color": "#fff" }); $("html img").each(function(){ $(this).css({ "filter": "invert(100) hue-rotate(180deg)", "transition": "filter 0.8s", "background-color": "#fff" }); }); $("html video").each(function(){ $(this).css({ "filter": "invert(100) hue-rotate(180deg)", "transition": "filter 0.8s", "background-color": "#fff" }); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址