Skip to content
System One

realZachi/typesafe-adblock

Chrome extension that finds ad-shaped DOM elements in plain code, then asks Jev whether each candidate is an ad and pops it off the page. Bring your own key and there is no backend, and the author calls it a fun side project rather than a real ad blocker.

realZachi/typesafe-adblock on GitHub

Stars
74
Forks
6
Language
JavaScript
License
MIT
Last push
17 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

// Used by the extension service worker and by test/live-check.mjs in Node.
// Docs: https://docs.typesafe.ai/api  (POST /v1/systemone, Noul questions)

export const TYPESAFE_ENDPOINT = "https://api.typesafe.ai/v1/systemone";
export const TYPESAFE_MODELS_ENDPOINT = "https://api.typesafe.ai/v1/models";
export const DEFAULT_MODEL = "jev-latest";

// Jev context limits (docs/model-jaggedness): 64k tokens for state + all
// questions, 32k for state + longest question. ~30 compact candidates stay
// far below that; the content script also batches with this cap.
export const MAX_CANDIDATES_PER_REQUEST = 30;

View in src/typesafe.js

Open on GitHub

More like this

Keep browsing