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

View File

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