Blocking cookies for the qutebrowser.
This userscript tries to block the cookies of a website by clicking on HTML elements, like buttons.
To support many websites, it also uses custom blocklist made for Chrome/Firefox plugins like ublock origin.
Look at Installation of a blocklist
for more details.
Note that this was designed for qutebrowser and will not work on any other browsers.
- rust
- qutebrowser
- A local copy of this repository.
Just execute the make.sh
in the repositories folder.
Run cargo build
in the repositories folder.
Copy the created binary from target/debug/qute-cookie-block
to the userscripts directory of qutebrowser.
Copy the folder cookie-blockers
to the data directory of qutebrowser.
You can also take the binary and folder from the Releases
tab, but they might outdated.
This program supports blocklists/filterlists, that are written for ublock origin.
To do that, download the blocklist you want (I recommend this one), rename it to blocklist.txt
(important!) and put it in your qutebrowser data directory under cookie-blockers
in (~/.local/qutebrowser/
in Linux).
Note that currently only very basic features of the blocklists are supported.
Run this script by executing :spawn --userscript qute-cookie-block
in qutebrowser.
As you probably don't want to type it out all the time, I recommend setting up a alias in qute://settings
.
This userscript heavily depends on contributions to fill out the list of supported websites. Please try to contribute by submitting pull requests. You do not even have to write any code, just XML.
To learn more about how to contribute, please look at the wiki of this repository.