Summary Files Commits Branches @commit @diff @stats
NameSize
.gitignore40 Blog stats plain blame
LICENSE34.3 KiBlog stats plain blame
Makefile493 Blog stats plain blame
README.md736 Blog stats plain blame
main.c1.8 KiBlog stats plain blame

ephy-scripts

Adds userscript support to Epiphany browser (aka GNOME Web).

What

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.

How

Just place your scripts under either:

  • /usr/local/share/epiphany/userscripts
  • /usr/share/epiphany/userscripts
  • ~/.local/share/epiphany/userscripts

Requirements

  • pkg-config
  • libwebkit2gtk-4.0-dev or webkit2gtk-web-extension-4.0

Installation

For Debian-based distributions:

make
sudo make DESTDIR=lib/x86_64-linux-gnu/epiphany-browser install

Otherwise:

make
sudo make install

License

GPL3