您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
黑白网页恢复彩色,匹配所有网页,即装即用。
当前为
// ==UserScript== // @name 黑白网页恢复彩色 // @namespace http://tampermonkey.net/ // @version 1.3 // @license MIT // @description 黑白网页恢复彩色,匹配所有网页,即装即用。 // @author http://greasyfork.icu/users/574395-frammolz-amanda // @match *://*/* // @grant none // ==/UserScript== (function() { var filter = document.createElement('style'); filter.type = 'text/css'; document.getElementsByTagName('head')[0].appendChild(filter); filter.appendChild(document.createTextNode("*{-webkit-filter:none!important;}")); var windowUrl = window.location.href; var baidudesk = /https:\/\/www.baidu.com/; if( windowUrl.match(baidudesk)){ document.getElementById("s_lg_img").setAttribute("src","https://www.baidu.com/img/flexible/logo/pc/index.png"); document.getElementById("su").style.setProperty("background-color","#4e6ef2","important"); document.getElementsByClassName("index-logo-src")[0].setAttribute("src","https://www.baidu.com/img/flexible/logo/pc/result.png") } })();