This page walks you through every step needed to go from a fresh clone of the Traffic Blocker repository to a running extension in your browser. You will clone the source, install dependencies, run the production build, and load the resultingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/alexperezortuno/ce-blocker/llms.txt
Use this file to discover all available pages before exploring further.
dist/ folder as an unpacked Chrome extension — no Chrome Web Store account required.
Prerequisites
Make sure the following are available on your machine before you begin:
- Node.js 18+ — tested with 18.x, 20.x, and 22.x
- npm 8+ — used to install dependencies. Note that the
buildandpackagescripts internally call pnpm, so pnpm must also be available globally (npm install -g pnpm) if you run those scripts via npm. - A Chromium-based browser — Chrome, Microsoft Edge, or Brave all support unpacked MV3 extensions
Build Steps
Install dependencies
Install all Node dependencies:This pulls in Vue 3, Vite, TypeScript, the
vite-plugin-web-extension plugin, and all other runtime and dev dependencies listed in package.json.Build the extension
Compile the extension for production. The build scripts internally call The build script first removes any previous
pnpm, so pnpm is required to run the build:dist/ and build/ output (pnpm run clean), then runs vue-tsc for a full TypeScript type-check, and finally invokes vite build. On success, a dist/ folder is created at the repository root containing:index.html— the popup entry pointassets/background.js— the compiled service workermanifest.json— the MV3 manifest (merged frompublic/manifest.jsonandpackage.jsonby Vite)- All bundled JS, CSS, and static assets
Load in Chrome
Load the compiled extension as an unpacked extension:
- Open
chrome://extensionsin your browser’s address bar. - Enable the Developer mode toggle in the top-right corner.
- Click Load unpacked.
- Select the
dist/folder inside the cloned repository.
After Loading
Updating
When upstream changes are available, pull the latest code and rebuild:chrome://extensions, find the Traffic Blocker card, and click the refresh (↺) button to reload the extension from the updated dist/ folder. No need to remove and re-add it — your saved rules and settings are preserved in chrome.storage.local.