A webxtension that adds a blocklist button to search results on DuckDuckGo, Google, and Brave Search.
- Uses bits from [ublacklist/builtin](- https://github.com/ublacklist/builtin/tree/main )
- Hover over search results to show an "add to blocklist" button
- Click the button to select a color (green, yellow, or red)
- Sends the selection to a native Node.js app via IPC
-
Load the extension in Chrome/Firefox:
- Chrome: Go to
chrome://extensions/, enable Developer mode, click "Load unpacked", select this directory - Firefox: Go to
about:debugging, click "This Firefox", "Load Temporary Add-on", selectmanifest.json
- Chrome: Go to
-
Update the
native-messaging-host.jsonfile with your extension ID (get it from the extension page)
- Make the Node.js script executable:
chmod +x hyperupcall-ublacklist-add.js- Install the native messaging host (Chrome example):
# Linux
mkdir -p ~/.config/google-chrome/NativeMessagingHosts/
cp native-messaging-host.json ~/.config/google-chrome/NativeMessagingHosts/
# Update the extension ID in the JSON file first!- Test the native app:
node hyperupcall-ublacklist-add.js