Katharos is a Chrome and Firefox extension that blocks AI answers in your favourite search engines.
  • TypeScript 73.2%
  • JavaScript 15.8%
  • CSS 9%
  • HTML 2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-01 03:17:48 -06:00
assets 1.1.0 - Optimizations & Logo Update 2026-06-16 00:19:19 -06:00
extensions 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00
icons 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00
scripts 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00
shared 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00
tests 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00
.editorconfig 1.5.0 - Re-factor and google block improvements 2026-08-21 00:49:22 -06:00
.gitignore Added adaptor/module approach, and added brave and bing. 2026-06-17 22:20:32 -06:00
.prettierignore 1.5.0 - Re-factor and google block improvements 2026-08-21 00:49:22 -06:00
.prettierrc 1.5.0 - Re-factor and google block improvements 2026-08-21 00:49:22 -06:00
LICENSE Update LICENSE 2026-06-25 00:20:01 -06:00
package.json 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00
pnpm-lock.yaml 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00
pnpm-workspace.yaml 1.2.1 - Cleanup 2026-06-20 17:29:36 -06:00
PRIVACY.md 1.5.0 - Re-factor and google block improvements 2026-08-21 00:49:22 -06:00
README.md 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00
tsconfig.json 1.8.0 - Refactor 2026-11-01 03:17:48 -06:00

katharos

Katharos is a Chrome and Firefox extension that blocks AI answers in your favourite search engines.

Supported engines:

  • Google (including regional domains such as google.co.uk and google.ca)
  • DuckDuckGo
  • Brave Search
  • Qwant

Store Downloads

Build

pnpm install
pnpm build

This type-checks the code and builds the extensions for both browsers here:

  • dist/katharos-chrome-<manifest-version>.zip
  • dist/katharos-firefox-<manifest-version>.zip

To build for only a single platform, you can do the following:

pnpm build:chrome
pnpm build:firefox

The version comes from package.json; the build writes it into both manifests.

Test

pnpm test

The tests check the URL rewriting each engine needs, both in the content script and in the declarativeNetRequest rules generated from the same config.

How it works

Each engine is a config in shared/adaptors/. From it the extension derives:

  • declarativeNetRequest redirect rules, kept in sync by the background script, which rewrite search URLs before the request is sent.
  • A content script that hides leftover AI elements, adds the same params to submitted search forms, and re-applies the rewrite after in-page navigations.
  • The manifest's content script matches and host permissions, injected at build time.

Local install

Chrome:

  1. Open chrome://extensions.
  2. Enable developer mode.
  3. Load unpacked extension from build/chrome.

Firefox:

  1. Open about:debugging#/runtime/this-firefox.
  2. Load temporary add-on.
  3. Pick build/firefox/manifest.json.