Skip to content

myobie/unofficial-1blocker-rule-converter-for-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Unofficial 1Blocker Rule Converter for Chrome

Translates rules from a local 1Blocker install into a Chrome Manifest V3 extension.

Requirements

  • macOS
  • 1Blocker installed at /Applications/1Blocker.app
  • git (brew install git)
  • Python 3 (brew install python)

Download

Download the .zip of this repo or:

git clone https://github.com/myobie/unofficial-1blocker-rule-converter-for-chrome.git

Build

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/.

Install into Chrome

  1. Open chrome://extensions/
  2. Enable Developer mode
  3. 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.

About

Unofficial 1Blocker Rule Converter for Chrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages