Compare commits

..

2 Commits

Author SHA1 Message Date
a5c1ad6af0
qutebrowser: YT: click dismissable elements
This removes ads for Youtube Premium and also the Youtube Shorts shelf
(which is garbage anyways)
2024-03-04 09:12:00 +01:00
6892176569
ranger: gp and gp mapped to go to path in clipboard 2024-02-24 15:42:34 +01:00
2 changed files with 6 additions and 8 deletions

View File

@ -281,13 +281,10 @@ set save_tabs_on_exit false
# Enable scroll wrapping - moving down while on the last item will wrap around to
# the top and vice versa.
set wrap_scroll false
map grm cd ~/eth/hrm
map gpm cd ~/eth/pm
map gre cd ~/eth/recht
map grt cd ~/eth/rt2
map gvl cd vl
map gus cd üs
map gz cd zsf
# go to path in clipboard (command: xclip -selection clipboard -o)
map gd eval fm.cd(os.popen('xclip -selection clipboard -o').read().strip())
# go to path of file in clipboard
map gp eval fm.cd(os.path.dirname(os.popen('xclip -selection clipboard -o').read().strip()))
map glb cd ~/.local/bin

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name Auto Remove Ads
// @version 1.0.1
// @version 1.0.2
// @description Autoremove static ads
// @author Alexander Bocken
// @match *://*.youtube.com/*
@ -11,4 +11,5 @@ setInterval(() => {
el => {
el.remove();
})
document.querySelectorAll('[aria-label="Not interested"]').forEach(el => { el.click() })
}, 50)