This commit is contained in:
DeveloperDurp 2025-05-17 10:27:17 -05:00
parent 4596df0212
commit bc8b5e21a5
7 changed files with 43 additions and 24 deletions

View file

@ -69,6 +69,8 @@ config.bind("gJ", "tab-move +")
config.bind("gK", "tab-move -")
config.bind("gm", "tab-move")
config.bind("x", "tab-close")
config.bind("u", "spawn --userscript bw")
# styles, cosmetics
# c.content.user_stylesheets = ["~/.config/qutebrowser/styles/youtube-tweaks.css"]
@ -105,23 +107,24 @@ config.set("content.cookies.store", True)
# You can also watch yt vids directly in mpv, see qutebrowser FAQ for how to do that.
# If you want additional blocklists, you can get the python-adblock package, or you can uncomment the ublock lists here.
c.content.blocking.enabled = True
# c.content.blocking.method = 'adblock' # uncomment this if you install python-adblock
# c.content.blocking.adblock.lists = [
# "https://github.com/ewpratten/youtube_ad_blocklist/blob/master/blocklist.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/legacy.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2020.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2021.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2022.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2023.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2024.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badware.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/privacy.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-cookies.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-others.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/quick-fixes.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/resource-abuse.txt",
# "https://github.com/uBlockOrigin/uAssets/raw/master/filters/unbreak.txt"]
c.content.blocking.method = "adblock" # uncomment this if you install python-adblock
c.content.blocking.adblock.lists = [
"https://github.com/ewpratten/youtube_ad_blocklist/blob/master/blocklist.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/legacy.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2020.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2021.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2022.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2023.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/filters-2024.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/badware.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/privacy.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-cookies.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/annoyances-others.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/badlists.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/quick-fixes.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/resource-abuse.txt",
"https://github.com/uBlockOrigin/uAssets/raw/master/filters/unbreak.txt",
]