qutebrowser: Add function to remove floating elements

Primarily used to get rid of cookie banners or
'subscribe-to-my-newsletter' annoyances.
This commit is contained in:
Marty Oehme 2025-12-01 10:22:52 +01:00
parent 9159ea177d
commit 7003fe992f
Signed by: Marty
GPG key ID: 4E535BC19C61886E
3 changed files with 8 additions and 2 deletions

View file

@ -50,7 +50,9 @@ config.bind(leader + "tV", "set tabs.position left")
# bind mpv to play the current page/links, using a single instance which queues the next link passed
config.bind(lleader + "m", "hint links spawn umpv {hint-url}")
config.bind(lleader + "i", "hint links spawn uoeia -v imv {hint-url}")
config.bind(lleader + "I", "hint images spawn uoeia -v imv {hint-url}") # for images directly
config.bind(
lleader + "I", "hint images spawn uoeia -v imv {hint-url}"
) # for images directly
# [G]emini shortcuts
# the full power of qutebrowser at your fingertips for any gemini page!
@ -98,6 +100,7 @@ config.bind(leader + "a", "cmd-set-text -s :taskadd")
# Enable and disable javascript
config.bind(leader + "js", "config-cycle content.javascript.enabled true false")
config.bind(leader + "jf", "remove-floating", mode="normal")
# Reload configuration
config.bind(leader + "VV", "config-source")