47 lines
2.7 KiB
Python
47 lines
2.7 KiB
Python
config.load_autoconfig(False)
|
|
|
|
config.set(
|
|
'content.headers.user_agent',
|
|
'Mozilla/5.0 (Windows; Windows NT 10.1; Win64; x64; en-US) '
|
|
'AppleWebKit/640.0.0 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/640.0.0'
|
|
)
|
|
|
|
|
|
c.url.searchengines = {
|
|
"DEFAULT": "https://priv.au/search?q={}"
|
|
}
|
|
|
|
c.url.start_pages = "https://priv.au"
|
|
c.url.default_page = "https://priv.au"
|
|
|
|
c.aliases['tab-new'] = 'open -t'
|
|
c.aliases['tabnew'] = 'open -t'
|
|
|
|
# Adblocking info -->
|
|
# For yt ads: place the greasemonkey script yt-ads.js in your greasemonkey folder (~/.config/qutebrowser/greasemonkey).
|
|
# The script skips through the entire ad, so all you have to do is click the skip button.
|
|
# Yeah it's not ublock origin, but if you want a minimal browser, this is a solution for the tradeoff.
|
|
# 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"]
|
|
|