全网黑白、灰色网页变回正常彩色方法

大伙都知道。每当一到一些特定的日子,全网上下包括APP,一片死灰。所有的网页几乎都没有了任何色彩,让大家心情极度压抑。我反正有这种感觉。感觉无法呼吸一样。。浏览起来心情特别沮丧。简单研究了一下解决方法。

百度新闻:

CSDN:

只简单举两个例子。可以看到。都是因为添加了一个灰色全局滤镜导致的。那么解决方法也就很简单了。

做为资深程序猿,肯定知道怎么处理。去掉类似下面这些特别的style即可:

想要一劳永逸解决也简单:

下面给一个油猴脚本。加上去就行了:

// ==UserScript==

// @name 灰色首页去除

// @version 0.0.1

// @namespace http://tampermonkey.net/

// @description 移除部分网站首页的灰白效果。

// @author wh445306

// @match *://*/*

// @run-at document-start

// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net

// @grant GM_addStyle

// ==/UserScript==

(function() {

//document.documentElement.style.filter = "none";

GM_addStyle("*{-webkit-filter: none !important;filter: none !important;}");

})();

一行代码简单有效。全网生效。大家可以试一下:效果如下图:

[an error occurred while processing the directive]
Copyright © 2088 世界杯决赛结果_世界杯队伍 - yzxygq.com All Rights Reserved.
友情链接