您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
每年清明节将网站切换至默哀模式
// ==UserScript== // @name 全网默哀 - 自动将网页切换至默哀模式 // @namespace http://tampermonkey.net/ // @version 0.3 // @description 每年清明节将网站切换至默哀模式 // @author You // @include * // @grant none // ==/UserScript== (function() { 'use strict'; let now = new Date(); if(now.getMonth() == 3 && now.getDate() == 4) document.querySelector('html').style.filter = 'grayscale(1)'; })();