This commit is contained in:
2026-07-12 08:16:17 +03:30
commit 72be1234e1
2027 changed files with 221388 additions and 0 deletions
+10
View File
@@ -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
View File
+47
View File
@@ -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"]
+19
View File
@@ -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);
View File