Filter remover

用于去除网页灰色滤镜

目前為 2022-12-01 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Filter remover
// @version      1.7
// @namespace    filter.404
// @license      GNU General Public License v3.0
// @description  用于去除网页灰色滤镜
// @author       eduarte
// @include      http://*/*
// @include      https://*/*
// @run-at       document-end
// ==/UserScript==

//
// 没有真相的致哀是对牺牲者的亵渎
// 一个阻止人们自发纪念活动的政府,更没有资格搞什么「公祭日」
// 我们需要这种带着反思的具体的悼念,希望将来某天,除了反思,还有追责
//

(function() {
    'use strict';
    //普通网站
    document.documentElement.style.filter = "none !important";
    document.body.style.filter="none";
    //百度网盘之类后加载滤镜的网站
    setTimeout(function(){
        document.documentElement.style.filter = "none !important";
        document.body.style.filter="none";
    }, 300);
})();