summaryrefslogtreecommitdiff
path: root/config/qutebrowser/config.py
diff options
context:
space:
mode:
authorcoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
committercoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
commit8cbadb61604667b407b53ee1258433994fa4765a (patch)
tree97765fb29418fd6278fcb4cbb9760893afaf7a58 /config/qutebrowser/config.py
Diffstat (limited to 'config/qutebrowser/config.py')
-rwxr-xr-xconfig/qutebrowser/config.py47
1 files changed, 47 insertions, 0 deletions
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
new file mode 100755
index 0000000..87e98e5
--- /dev/null
+++ b/config/qutebrowser/config.py
@@ -0,0 +1,47 @@
+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"]
+