CustomBlocker

Filter any element on any web site with any condition with XPath and RegExp

什么是CustomBlocker?

CustomBlocker是由http://blog.maripo.org开发的Chrome扩展程序,该扩展的主要功能是“Filter any element on any web site with any condition with XPath and RegExp”。

扩展截图

screenshot
screenshot

下载CustomBlocker扩展crx文件

下载CustomBlocker扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        CustomBlocker allows you to add "mute" functionality to any website with customized filter.
For example, you can....

* Block tweets with specific hashtags, URL or keywords on Twitter
* Hide tweets posted by specific apps on Twitter
* Mute reviews written by specific users on Amazon or other shopping sites
* Block comments which contain unpleasant or offensive words or tags on Facebook
* Remove results of specific domains from Google search results
* Filter videos by titles on YouTube
* Make ads invisible even if they are displayed in styles of "normal" posts

Filters consist of keywords, URLs (wildcards and regular expressions are available) and CSS selectors or XPaths to specify elements to block, so you can create custom filters for all of your favorite websites. 

CustomBlocker doesn't require special knowledge of CSS of XPath. It automatically analyzes structures of websites and suggest suitable selectors!
You can create rules instantly by right-clicking elements on websites.

source code 
https://github.com/maripo/CustomFilter                    

扩展基本信息

名称 CustomBlocker CustomBlocker
ID elnfhbjabfcepfnaeoehffgmifcfjlha
官方URL https://chrome.google.com/webstore/detail/elnfhbjabfcepfnaeoehffgmifcfjlha
简介 Filter any element on any web site with any condition with XPath and RegExp
文件大小 1.05 MB
安装次数 17,382
当前版本 4.1.4
更新时间 2020-03-27
上架时间 2020-03-23
评分 3.51/5 共168次评分
开发者 http://blog.maripo.org
付费类型 free
支持的语言 en,ja
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "CustomBlocker",
    "version": "4.1.4",
    "default_locale": "en",
    "description": "__MSG_extDescription__",
    "browser_action": {
        "default_title": "CustomBlocker preference",
        "default_icon": "icon\/icon_disabled.png",
        "default_popup": "index.html"
    },
    "content_security_policy": "script-src 'self' https:\/\/ssl.google-analytics.com; object-src 'self'",
    "options_page": "pref\/index.html",
    "background": {
        "page": "background_page.html"
    },
    "web_accessible_resources": [
        "css\/reset.css",
        "css\/rule_editor_common.css",
        "css\/rule_editor.css",
        "css\/smart_rule_editor.css",
        "css\/keywords.css",
        "css\/rule_editor_cursor.css",
        "img\/loading.gif",
        "img\/smart_path_preview_img.png",
        "img\/word_delete.png",
        "img\/word_delete_hover.png",
        "img\/rule_editor_close.png",
        "img\/wand.png",
        "img\/wand_transparent.png",
        "img\/icon_upper.png",
        "img\/help_icon.png",
        "img\/icon_regexp.png",
        "img\/keyword_delete.png",
        "img\/keyword_case_sensitive_red.png",
        "img\/keyword_include_href_red.png",
        "img\/keyword_regexp_red.png",
        "img\/keyword_case_sensitive_blue.png",
        "img\/keyword_include_href_blue.png",
        "img\/keyword_regexp_blue.png",
        "rule_editor_frame_ja.html",
        "rule_editor_frame_en.html",
        "en\/rule_editor_frame.html",
        "ja\/rule_editor_frame.html"
    ],
    "content_scripts": [
        {
            "matches": [
                "http:\/\/*\/*",
                "https:\/\/*\/*"
            ],
            "js": [
                "src\/util.js",
                "src\/uuid.js",
                "src\/element_highlighter.js",
                "src\/db\/DbObj.js",
                "src\/db\/Rule.js",
                "src\/db\/Word.js",
                "src\/rule\/Storage.js",
                "src\/rule\/Rule.js",
                "src\/rule\/Word.js",
                "src\/rule\/WordGroup.js",
                "src\/rule_executor.js",
                "src\/contentscript.js",
                "src\/smart_path_analyzer.js",
                "src\/rule_editor.js",
                "src\/smart_rule_editor.js",
                "src\/path_analyzer.js",
                "src\/xpath_builder.js",
                "src\/css_builder.js"
            ],
            "run_at": "document_idle",
            "all_frames": false
        }
    ],
    "permissions": [
        "background",
        "tabs",
        "storage",
        "contextMenus",
        "chrome:\/\/favicon\/",
        "unlimitedStorage"
    ],
    "icons": {
        "128": "icon\/icon128.png",
        "48": "icon\/icon48.png",
        "32": "icon\/icon32.png"
    }
}