summaryrefslogtreecommitdiff
path: root/config/qutebrowser
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
Diffstat (limited to 'config/qutebrowser')
-rwxr-xr-xconfig/qutebrowser/autoconfig.yml10
-rwxr-xr-xconfig/qutebrowser/bookmarks/urls0
-rwxr-xr-xconfig/qutebrowser/config.py47
-rwxr-xr-xconfig/qutebrowser/greasemonkey/yt-ads.js19
-rwxr-xr-xconfig/qutebrowser/quickmarks0
5 files changed, 76 insertions, 0 deletions
diff --git a/config/qutebrowser/autoconfig.yml b/config/qutebrowser/autoconfig.yml
new file mode 100755
index 0000000..986632b
--- /dev/null
+++ b/config/qutebrowser/autoconfig.yml
@@ -0,0 +1,10 @@
+# If a config.py file exists, this file is ignored unless it's explicitly loaded
+# via config.load_autoconfig(). For more information, see:
+# https://github.com/qutebrowser/qutebrowser/blob/main/doc/help/configuring.asciidoc#loading-autoconfigyml
+# DO NOT edit this file by hand, qutebrowser will overwrite it.
+# Instead, create a config.py - see :help for details.
+
+config_version: 2
+settings:
+ content.javascript.clipboard:
+ https://chatgpt.com: access-paste
diff --git a/config/qutebrowser/bookmarks/urls b/config/qutebrowser/bookmarks/urls
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/config/qutebrowser/bookmarks/urls
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"]
+
diff --git a/config/qutebrowser/greasemonkey/yt-ads.js b/config/qutebrowser/greasemonkey/yt-ads.js
new file mode 100755
index 0000000..932fd29
--- /dev/null
+++ b/config/qutebrowser/greasemonkey/yt-ads.js
@@ -0,0 +1,19 @@
+// ==UserScript==
+// @name Auto Skip YouTube Ads
+// @version 1.1.0
+// @description Speed up and skip YouTube ads automatically
+// @author jso8910 and others
+// @match *://*.youtube.com/*
+// ==/UserScript==
+
+
+document.addEventListener('load', () => {
+ const btn = document.querySelector('.videoAdUiSkipButton,.ytp-ad-skip-button-modern')
+ if (btn) {
+ btn.click()
+ }
+ const ad = [...document.querySelectorAll('.ad-showing')][0];
+ if (ad) {
+ document.querySelector('video').currentTime = 9999999999;
+ }
+}, true);
diff --git a/config/qutebrowser/quickmarks b/config/qutebrowser/quickmarks
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/config/qutebrowser/quickmarks