nihilowy/surfer

Simple keyboard based web browser. No tabs.

Based on webkit2gtk and gtk3. Lariza and Epiphany, Surf inspired.

No xlibs dependency — works on wayland, weston, sway.

Adblock

Install https://github.com/jun7/wyebadblock

Then sudo ln -s /usr/lib/wyebrowser/adblock.so /usr/lib/surfer

Otherwise You can use /etc/hosts block list from sites like someonewhocares.org

Compile and install:

sudo make install

on Arch: yaourt surfer

Hotkeys:

Ctrl + click link — open link in new window

Ctrl + n — new window

Ctrl + s — go back

Ctrl + d — go forward

Ctrl + q — quit

Esc — stop loading

Ctrl + h — home (bookmarks list)

Ctrl + b — bookmark site (to remove just edit file with links: .fav in your home dir)

Ctrl + o — toogle url bar

Ctrl + / — find word

Ctrl + r — reload page

Ctrl + = — zoom in

Ctrl + - — zoom out

Ctrl + j — scroll down

Ctrl + k — scroll up

Ctrl + Shift + u — page up

Ctrl + Shift + d — page down

Ctrl + i — web inspector (page source)

Ctrl + Shift + s — toogle user style black theme (/usr/share/surfer/black.css)

Ctrl + Shift + r — show history (.hist file in HOME dir), to enable history change HISTORY_ENABLE to 1 in surfer.c

F11 — toogle fullscreen

Edit surfer.c to change hotkeys