Summary Files Commits Branches @commit @diff @stats
path: root / README.md
blob: 110ced18ab5b03aee9faf3db490c705547b43496 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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:
```sh
make
sudo make DESTDIR=lib/x86_64-linux-gnu/epiphany-browser install
```

Otherwise:
```sh
make
sudo make install
```

# License
GPL3