您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
或许未来只有一片精致的灰 !
当前为
(function () { // ASSET: /home/llej/code/userJS/祭奠百度/祭奠百度.user.ts // ==UserScript== // @name 祭奠百度 // @namespace http://tampermonkey.net/ // @version 1.39 // @description 或许未来只有一片精致的灰 ! // @author 崮生 [email protected] // @match * // @include * // @connect shenzilong.cn // @grant GM.setValue // @grant GM.getValue // ==/UserScript== (() => { function main() { const style_el = document.createElement("style"); const gray = `-webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%); filter: gray;`; style_el.innerHTML = ` ${pan_contained([ /** 百度 */ "baidu", /** 百度静态资源 */ "bdstatic", /** */ "bdimg"])}, /** https://pan.baidu.com/buy/checkoutcounter?from=non&vip=1 */ .cashier-page-logo {${gray}} `; function pan_contained(selector) { return selector.map(s => `[src*=${s}], [style*=${s}]`).join(","); } document.body.insertBefore(style_el, document.querySelector("body *")); } main(); })(); })();