Translates rules from a local 1Blocker install into a Chrome Manifest V3 extension.
- macOS
- 1Blocker installed at
/Applications/1Blocker.app - git (brew install git)
- Python 3 (brew install python)
Download the .zip of this repo or:
git clone https://github.com/myobie/unofficial-1blocker-rule-converter-for-chrome.git
cd unofficial-1blocker-rule-converter-for-chrome
python3 build.py
This reads 1Blocker's bundled ad-blocking rules and your local hosts list, then generates a Chrome extension in extension/.
- Open
chrome://extensions/ - Enable Developer mode
- Click Load unpacked and select the
extension/folder inside the unofficial-1blocker-rule-converter-for-chrome folder
Re-run build.py after 1Blocker updates to regenerate with the latest rules, then click the reload icon next to your extension at chrome://extensions/.
This extension does not contain any actual rules. It simply takes the great rules built into 1Blocker and converts them so they can be used in Chrome on the same computer. I made this for me and I hope it might be useful to you as well.