Better Search ⭐

Clean up your search results! Highlights preferred websites and fades or completely hides sites you dislike on Google, Bing, DuckDuckGo, Brave, and Yandex.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey, Greasemonkey или Violentmonkey.

Для установки этого скрипта вам необходимо установить расширение, такое как Tampermonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Violentmonkey.

Чтобы установить этот скрипт, вы сначала должны установить расширение браузера, например Tampermonkey или Userscripts.

Чтобы установить этот скрипт, сначала вы должны установить расширение браузера, например Tampermonkey.

Чтобы установить этот скрипт, вы должны установить расширение — менеджер скриптов.

(у меня уже есть менеджер скриптов, дайте мне установить скрипт!)

Advertisement:

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение браузера, например Stylus.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

Чтобы установить этот стиль, сначала вы должны установить расширение — менеджер стилей.

(у меня уже есть менеджер стилей, дайте мне установить скрипт!)

Advertisement:

Автор
quantavil
Установок в день
2
Всего установок
7
Оценки
0 0 0
Версия
3.3
Создано
16.06.2026
Обновлено
17.06.2026
Размер
106,8 КБ
Лицензия
MIT
Работает на

Better Search

Clean up your search results! A high-performance, lightweight userscript that enhances your browsing experience by highlighting websites you love and dimming or hiding the ones you dislike.

Supported Search Engines

  • Google (google.com, google.co.jp, etc.)
  • Bing (bing.com)
  • DuckDuckGo (duckduckgo.com)
  • Brave Search (search.brave.com)
  • Yandex (yandex.ru, yandex.com)

Features

1. In-Place Hover Action Controls

Hovering over any search result displays a sleek control bar in the top-right corner of the result item:

  • Star (Preferred): Pin / highlight the domain in search results.
  • Slash (Disliked): Dim / hide the domain based on your active filter mode.

2. Live Settings Panel

Click the floating settings cog or select "Better Search Settings" from your userscript manager menu to configure:

  • Filter Mode:
    • Fade: Reduces opacity of disliked site results (50% opacity by default).
    • Hide: Hides disliked site results entirely, showing a tiny text row indicating a hidden site. Clicking this row instantly reveals the site.
  • Preferred & Disliked Lists: Live-editable lists of domains to filter. Supports wildcards implicitly (e.g. github.com covers all subdomains like gist.github.com and raw.github.com).
  • Import / Export: Easily backup or sync your lists.

3. Privacy & Accessibility First

  • Zero CDN Requests / Tracker-free: The userscript does not load any external CDNs or resources (such as Google Fonts). Fallback system font families are declared natively in styling to guarantee zero leakage of your IP address or search queries.
  • Full Accessibility (A11y): Focus states and keyboard controls are fully supported for all settings and options. Interactive controls are announced correctly with semantic ARIA attributes (role="dialog", aria-modal="true", aria-expanded, and aria-pressed), and screen readers receive status updates via an ARIA live region.

Domain Import & Export

Better Search provides flexible, native backup and synchronization options.

JSON Import Format

The settings panel reads and writes domain configuration in the following standard JSON format:

{
  "version": 1,
  "liked": [
    "wikipedia.org",
    "github.com",
    "stackoverflow.com",
    "developer.mozilla.org"
  ],
  "disliked": [
    "w3schools.com",
    "pinterest.com",
    "quora.com"
  ]
}

Import Options

1. Copy & Download (Export)

  • Copy JSON: Copies your current settings directly to the clipboard.
  • Download: Saves a .json file containing your domain lists.

2. Import File

  • Click Import File and select your saved .json file to merge it with your active domains. The import is additive and deduplicated (it will not overwrite your existing list, only append new entries).

3. Import from URL (Sync with GitHub Gist)

You can host your domain list anywhere (such as a GitHub Gist, public GitHub repository, or custom server) and import it directly via URL.

Step-by-Step GitHub Gist Setup:
  1. Navigate to GitHub Gists.
  2. Create a new Gist. Name the file domains.json.
  3. Paste your JSON configuration (using the format shown above) into the Gist content box.
  4. Click Create public gist or Create secret gist.
  5. On the Gist page, locate the domains.json file and click the Raw button.
  6. Copy the URL from your browser's address bar. It should resemble: https://gist.githubusercontent.com/username/gist_id/raw/domains.json
  7. Open the Better Search Settings Panel, paste this raw URL into the Import from URL input field, and click Fetch.

[!NOTE] The settings panel is pre-populated by default with a recommended domain list gist URL: https://gist.githubusercontent.com/quantavil/12880b87fd1ebd497469455d1898088b/raw/63daeaec36bc08e68f94a2db9dc5ec08af6e3ff9/domains.json You can simply click the Fetch button in the settings panel to import this list.


Development

Setup

Ensure you have Bun installed, then set up the project:

bun install

Run Local Development Server

Starts a hot-reloading development server:

bun run dev

Build Production Bundle

Compiles and bundles the userscript into a single file at dist/better-search.user.js:

bun run build