MCPcopy
hub / github.com/iorate/ublacklist

github.com/iorate/ublacklist @v9.9.0 sqlite

repository ↗ · DeepWiki ↗ · release v9.9.0 ↗
337 symbols 1,007 edges 102 files 0 documented · 0%
README

uBlacklist

English | Deutsch | 简体中文

在搜索结果中屏蔽指定的网站

介绍

此扩展可防止您指定的网站出现在 Google 和其他的一些搜索引擎中。

您可以为搜索结果添加规则或点击工具栏图标以屏蔽指定的网站。规则可以通过以下方式指定:匹配模式 (示例:*://*.example.com/*) 或使用表达式包括正则表达式、变量和字符串匹配器 (示例:/example\.(net|org)/, path*="example"i, $category = "images" & title ^= "Example"…)。

You can synchronize rulesets across devices via cloud storage (Google Drive, Dropbox, WebDAV) or browser sync.

You can also subscribe to public rulesets. Some public rulesets are listed on the website: https://ublacklist.github.io/rulesets

浏览器支持策略

uBlacklist 支持以下浏览器版本:

  • Chrome:仅支持最新稳定版
  • Firefox:仅支持最新稳定版和最新 ESR 版
  • Edge: Latest stable version only
  • Safari:仅支持最新稳定版(macOS 和 iOS)

Support for browsers outside the list above depends on community contributions. Please open a Discussion with a concrete implementation proposal — reports without one are unlikely to be addressed.

支持的搜索引擎

此扩展支持以下搜索引擎。

网页 图片 视频 新闻
Google :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Bing :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Brave :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
DuckDuckGo :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Ecosia :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Kagi :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
SearXNG :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Startpage :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Yahoo! JAPAN :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Yandex :heavy_check_mark: :heavy_check_mark:

No additional builtin search engine support is planned. You can use SERPINFO to add support for any search engine yourself.

Related repositories

发布订阅

要将规则集发布为订阅,请将以 UTF-8 编码的规则集文件放在合适的 HTTP(S) 服务器上,然后发布 URL。这是托管在 GitHub 上的示例:

https://raw.githubusercontent.com/iorate/ublacklist-example-subscription/master/uBlacklist.txt

你可以在规则集前放置 YAML frontmatter。建议设定 name 变量。

---
name: Your ruleset name
---
*://*.example.com/*

贡献

详细的开发设置和指南请参阅我们的贡献指南

作者

iorate (X)

许可证

uBlacklist 基于 MIT License 开源。

Extension points exported contracts — how you extend this code

CSSProperties (Interface)
(no doc)
src/scripts/serpinfo/css-stringify.ts
ProcessEnv (Interface)
(no doc)
src/common/globals.ts

Core symbols most depended-on inside this repo

translate
called by 209
src/scripts/locales.ts
useClassName
called by 89
src/scripts/components/utilities.ts
applyClassName
called by 43
src/scripts/components/helpers.tsx
toString
called by 29
src/scripts/utilities.ts
parseDomainLine
called by 26
src/scripts/ruleset/domains.ts
createPatch
called by 24
src/scripts/interactive-ruleset.ts
sendMessage
called by 19
src/scripts/messages.ts
query
called by 18
src/scripts/interactive-ruleset.ts

Shape

Function 302
Method 21
Class 12
Interface 2

Languages

TypeScript100%

Modules by API surface

src/scripts/utilities.ts32 symbols
src/scripts/serpinfo/commands.ts19 symbols
src/scripts/serpinfo/filter.ts18 symbols
src/scripts/interactive-ruleset.ts15 symbols
src/scripts/serpinfo/content-script.ts14 symbols
src/scripts/serpinfo/background.ts13 symbols
src/scripts/serpinfo/settings.ts12 symbols
src/scripts/block-dialog.tsx11 symbols
src/scripts/serpinfo/options.tsx10 symbols
src/scripts/background/clouds.ts10 symbols
src/scripts/messages.ts8 symbols
src/scripts/background/sync.ts8 symbols

Dependencies from manifests, versioned

@biomejs/biome2.4.15 · 1×
@codemirror/commands6.10.3 · 1×
@codemirror/lang-yaml6.1.3 · 1×
@codemirror/lint6.9.6 · 1×
@codemirror/state6.6.0 · 1×
@codemirror/view6.42.1 · 1×
@lezer/highlight1.2.3 · 1×
@mdi/svg7.4.47 · 1×
@neodrag/vanilla2.3.1 · 1×
@sindresorhus/fnv1a3.1.0 · 1×
@types/css-tree2.3.11 · 1×

For agents

$ claude mcp add ublacklist \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact