An adblock extension for wyeb, also webkit2gtk browsers.
Go to file
2018-01-02 10:07:34 +09:00
.gitignore First commit 2017-07-17 17:21:10 +09:00
COPYING First commit 2017-07-17 17:21:10 +09:00
ephy-uri-tester.c Add a env value 2018-01-02 10:07:34 +09:00
ephy-uri-tester.h First commit 2017-07-17 17:21:10 +09:00
makefile Add uninstall to the make file 2017-12-31 15:09:38 +09:00
PKGBUILD Update rel version 2017-09-15 11:10:17 +09:00
README.md Add a env value 2018-01-02 10:07:34 +09:00

wyebadblock

An adblock extension for wyeb, also webkit2gtk browsers.

most of code of this are from https://github.com/GNOME/epiphany/tree/master/embed/web-extension

usage:

make
make install

then copy easylist.txt to ~/.config/wyebadblock

this only checks 'easylist.txt'


Setting chars(whatever) to the env value $DISABLE_ADBLOCK disables adblock.

For source code: set string ";adblock:false;" as user data of the webkit_web_context_set_web_extensions_initialization_user_data;


webkit2gtk browsers

On Arch Linux

luakit

sudo ln -s /lib/wyebrowser/adblock.so /lib/luakit

vimb

sudo ln -s /lib/wyebrowser/adblock.so /lib/vimb

lariza

mkdir -p ~/.config/lariza/web_extensions
ln -s /lib/wyebrowser/adblock.so ~/.config/lariza/web_extensions