This repository has no description
945 B
28 lines
1" Tridactyl configuration
2" Source this file from ~/.config/tridactyl/tridactylrc with:
3" source /path/to/this/tridactylrc
4
5" Disable Tridactyl completely on sites that break with it
6" Uses seturl with regex pattern - prevents Tridactyl from injecting anything
7seturl my\.sevdesk\.de superignore true
8
9" Smooth scrolling
10set smoothscroll true
11
12" Don't focus input fields automatically
13set allowautofocus false
14
15" Remove dangerous default binding (d closes tab)
16unbind d
17
18" Open current page in mpv
19bind gm composite js document.location.href | exclaim_quiet mpv
20" Select a link and open it in mpv
21bind ;gm hint -W exclaim_quiet mpv
22
23" Open current page through archive.ph
24bind gA js tri.excmds.tabopen('https://archive.ph/' + document.location.href)
25" Custom command to open URL via archive.ph
26command archiveph js -p tri.excmds.tabopen('https://archive.ph/' + JS_ARG)
27" Select a link and open it through archive.ph
28bind ;gA hint -W archiveph