diff options
author | Adam Stück <adam@adast.xyz> | 2023-04-30 21:29:16 +0200 |
---|---|---|
committer | Adam Stück <adam@adast.xyz> | 2023-04-30 21:59:58 +0200 |
commit | d0ba640f674c18a9ae15aec23e80aeb9b6e4af71 (patch) | |
tree | 93d49d28be83be36ef13a65b3d2720ed75ae3345 /.config/qutebrowser/greasemonkey-available/invidious.js | |
parent | b7b0887f88ffa4dd63a85aaa27d305db18555675 (diff) |
qutebrowser: moved greasemonkey scripts
Intended usage is to symlink available scripts to
.config/qutebrowser/greasemonkey/ (like nginx sites)
Diffstat (limited to '.config/qutebrowser/greasemonkey-available/invidious.js')
-rw-r--r-- | .config/qutebrowser/greasemonkey-available/invidious.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/qutebrowser/greasemonkey-available/invidious.js b/.config/qutebrowser/greasemonkey-available/invidious.js new file mode 100644 index 0000000..6f096e5 --- /dev/null +++ b/.config/qutebrowser/greasemonkey-available/invidious.js @@ -0,0 +1,13 @@ +// ==UserScript== +// @name Invidious +// @description youtube to invidious +// @match *://youtube.com/* +// @match *://*.youtube.com/* +// @grant none +// @run-at document-start +// ==/UserScript== + +(function () { + 'use strict'; + top.location.hostname = "invidious.snopyta.org"; +})(); |