Adds userscript support to Epiphany browser (aka GNOME Web).
This is a WebKit2GTK WebExtension which simply reads Javascript files from some directories, and evaluates them for every page.
Being a WebExtension, it is isolated from the GTK UI and thus can't modify it.
Just place your scripts under either:
/usr/local/share/epiphany/userscripts/usr/share/epiphany/userscripts~/.local/share/epiphany/userscripts
pkg-configlibwebkit2gtk-4.0-devorwebkit2gtk-web-extension-4.0
For Debian-based distributions:
make
sudo make DESTDIR=lib/x86_64-linux-gnu/epiphany-browser installOtherwise:
make
sudo make installGPL3