Traffic Blocker lets you save your entire rule set to a JSON file and restore it later — useful for backing up a carefully tuned configuration, sharing rule sets with colleagues, or migrating your setup to a different machine. All import and export actions live in the Settings view, accessible via the sliders icon on the Dashboard.Documentation 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.
Exporting Rules
Click the export icon (file-export) in Settings to download your current rules. The extension readschrome.storage.local and writes a file named rules.json to your downloads folder with the following structure:
Importing from a File
Open the file picker
Click the import icon (file-import) in Settings. A native file picker opens filtered to
.json files.Select your rules file
Choose a previously exported
rules.json file. The extension reads the file, parses the JSON, and validates every rule — auto-fixing any missing fields with sensible defaults (see Auto-fix behavior below).Importing from a URL
Enter the remote URL
Type or paste a URL that starts with
http:// or https://. URLs with any other scheme are rejected with an error toast. The extension fetches the remote JSON with a 10-second timeout.Auto-fix Behavior
During import, each rule is validated and any missing fields are filled in automatically so that partial or legacy rule files are still accepted:| Missing field | Default applied |
|---|---|
id | Sequential index starting at 1 |
priority | 1 |
action | { "type": "block" } |
condition | { "urlFilter": "" } |
rules field are accepted for backwards compatibility. If the top-level rules value is an object (e.g. a keyed map), it is automatically converted to an array via Object.values() before processing.
Example JSON File Format
A complete, validrules.json file looks like this: