diff options
| -rw-r--r-- | ar/.config/qutebrowser/config.py | 8 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/0x0.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/0x0.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/arstechnica.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/arstechnica.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/cnn-lite.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/csmonitor-text.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/dienet.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/dienet.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/dir.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/dir.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/fandom.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/fandom.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/git-scm.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/git-scm.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/google.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/google.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/imdb.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/imdb.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/leadertelegram.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/leadertelegram.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/manpages.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/manpages.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/npr-text.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/npr-text.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/opengroup.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/opengroup.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/rarbg.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/rarbg.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/reddit.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/reddit.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/smbc-comics.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/smbc-comics.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/stackexchange.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/stackexchange.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/termbin.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/termbin.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/wiki.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/wiki.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/xkcd.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/xkcd.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/ycombinator.css.js (renamed from global/.local/share/qutebrowser/greasemonkey/ycombinator.css.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/youtube-ads.js (renamed from global/.local/share/qutebrowser/greasemonkey/youtube-ads.js) | 0 | ||||
| -rw-r--r-- | ar/.config/qutebrowser/greasemonkey/youtube.css.js | 31 | ||||
| -rwxr-xr-x | ar/.config/qutebrowser/userscripts/add-nextcloud-bookmarks (renamed from global/.local/share/qutebrowser/userscripts/add-nextcloud-bookmarks) | 0 | ||||
| -rwxr-xr-x | ar/.config/qutebrowser/userscripts/add-nextcloud-cookbook (renamed from global/.local/share/qutebrowser/userscripts/add-nextcloud-cookbook) | 0 | ||||
| -rwxr-xr-x | ar/.config/qutebrowser/userscripts/qr (renamed from global/.local/share/qutebrowser/userscripts/qr) | 0 | ||||
| -rwxr-xr-x | ar/.config/qutebrowser/userscripts/qute-pass (renamed from global/.local/share/qutebrowser/userscripts/qute-pass) | 0 | ||||
| -rwxr-xr-x | ar/.config/qutebrowser/userscripts/translate (renamed from global/.local/share/qutebrowser/userscripts/translate) | 0 | ||||
| -rw-r--r-- | global/.local/share/qutebrowser/greasemonkey/youtube.css.js | 18 |
31 files changed, 35 insertions, 22 deletions
diff --git a/ar/.config/qutebrowser/config.py b/ar/.config/qutebrowser/config.py index 6568751..f4a774d 100644 --- a/ar/.config/qutebrowser/config.py +++ b/ar/.config/qutebrowser/config.py @@ -526,7 +526,7 @@ c.colors.webpage.darkmode.enabled = True ## - never: Never apply dark mode filter to any images. ## - smart: Apply dark mode based on image content. Not available with Qt 5.15.0. ## - smart-simple: On QtWebEngine 6.6, use a simpler algorithm for smart mode (based on numbers of colors and transparency), rather than an ML-based model. Same as 'smart' on older QtWebEnigne versions. -# c.colors.webpage.darkmode.policy.images = 'smart' +c.colors.webpage.darkmode.policy.images = "never" ## Which pages to apply dark mode to. The underlying Chromium setting has ## been removed in QtWebEngine 5.15.3, thus this setting is ignored @@ -1127,7 +1127,7 @@ c.content.proxy = "system" # for tor to access .onion ## - ask-block-thirdparty: Ask how to proceed for normal page loads, but silently block resource loads. ## - block: Automatically block loading on certificate errors. ## - load-insecurely: Force loading pages despite certificate errors. This is *insecure* and should be avoided. Instead of using this, consider fixing the underlying issue or importing a self-signed certificate via `certutil` (or Chromium) instead. -c.content.tls.certificate_errors = "ask" +c.content.tls.certificate_errors = "block" ## How navigation requests to URLs with unknown schemes are handled. ## Type: String @@ -1152,7 +1152,7 @@ c.content.tls.certificate_errors = "ask" ## - default-public-and-private-interfaces: WebRTC should only use the default route used by http. This also exposes the associated default private address. Default route is the route chosen by the OS on a multi-homed endpoint. ## - default-public-interface-only: WebRTC should only use the default route used by http. This doesn't expose any local addresses. ## - disable-non-proxied-udp: WebRTC should only use TCP to contact peers or servers unless the proxy server supports UDP. This doesn't expose any local addresses either. -c.content.webrtc_ip_handling_policy = "default-public-interface-only" +c.content.webrtc_ip_handling_policy = "disable-non-proxied-udp" ## Monitor load requests for cross-site scripting attempts. Suspicious ## scripts will be blocked and reported in the devtools JavaScript @@ -2123,7 +2123,7 @@ c.tabs.show = "multiple" ## Page to open if :open -t/-b/-w is used without URL. Use `about:blank` ## for a blank page. ## Type: FuzzyUrl -c.url.default_page = "https://searx.thesiah.xyz/" +c.url.default_page = "https://searx.thesiah.xyz" ## URL segments where `:navigate increment/decrement` will search for a ## number. diff --git a/global/.local/share/qutebrowser/greasemonkey/0x0.css.js b/ar/.config/qutebrowser/greasemonkey/0x0.css.js index ec10275..ec10275 100644 --- a/global/.local/share/qutebrowser/greasemonkey/0x0.css.js +++ b/ar/.config/qutebrowser/greasemonkey/0x0.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/arstechnica.css.js b/ar/.config/qutebrowser/greasemonkey/arstechnica.css.js index 723a7e4..723a7e4 100644 --- a/global/.local/share/qutebrowser/greasemonkey/arstechnica.css.js +++ b/ar/.config/qutebrowser/greasemonkey/arstechnica.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js b/ar/.config/qutebrowser/greasemonkey/cnn-lite.css.js index 8c2c507..8c2c507 100644 --- a/global/.local/share/qutebrowser/greasemonkey/cnn-lite.css.js +++ b/ar/.config/qutebrowser/greasemonkey/cnn-lite.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js b/ar/.config/qutebrowser/greasemonkey/csmonitor-text.css.js index 92a491d..92a491d 100644 --- a/global/.local/share/qutebrowser/greasemonkey/csmonitor-text.css.js +++ b/ar/.config/qutebrowser/greasemonkey/csmonitor-text.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/dienet.css.js b/ar/.config/qutebrowser/greasemonkey/dienet.css.js index 7031d05..7031d05 100644 --- a/global/.local/share/qutebrowser/greasemonkey/dienet.css.js +++ b/ar/.config/qutebrowser/greasemonkey/dienet.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/dir.css.js b/ar/.config/qutebrowser/greasemonkey/dir.css.js index 59ed68e..59ed68e 100644 --- a/global/.local/share/qutebrowser/greasemonkey/dir.css.js +++ b/ar/.config/qutebrowser/greasemonkey/dir.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/fandom.css.js b/ar/.config/qutebrowser/greasemonkey/fandom.css.js index e52987a..e52987a 100644 --- a/global/.local/share/qutebrowser/greasemonkey/fandom.css.js +++ b/ar/.config/qutebrowser/greasemonkey/fandom.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/git-scm.css.js b/ar/.config/qutebrowser/greasemonkey/git-scm.css.js index 4451840..4451840 100644 --- a/global/.local/share/qutebrowser/greasemonkey/git-scm.css.js +++ b/ar/.config/qutebrowser/greasemonkey/git-scm.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/google.css.js b/ar/.config/qutebrowser/greasemonkey/google.css.js index eea39c2..eea39c2 100644 --- a/global/.local/share/qutebrowser/greasemonkey/google.css.js +++ b/ar/.config/qutebrowser/greasemonkey/google.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/imdb.css.js b/ar/.config/qutebrowser/greasemonkey/imdb.css.js index a21bc01..a21bc01 100644 --- a/global/.local/share/qutebrowser/greasemonkey/imdb.css.js +++ b/ar/.config/qutebrowser/greasemonkey/imdb.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/leadertelegram.css.js b/ar/.config/qutebrowser/greasemonkey/leadertelegram.css.js index 3fabb6e..3fabb6e 100644 --- a/global/.local/share/qutebrowser/greasemonkey/leadertelegram.css.js +++ b/ar/.config/qutebrowser/greasemonkey/leadertelegram.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/manpages.css.js b/ar/.config/qutebrowser/greasemonkey/manpages.css.js index a013076..a013076 100644 --- a/global/.local/share/qutebrowser/greasemonkey/manpages.css.js +++ b/ar/.config/qutebrowser/greasemonkey/manpages.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/npr-text.css.js b/ar/.config/qutebrowser/greasemonkey/npr-text.css.js index 6f5020f..6f5020f 100644 --- a/global/.local/share/qutebrowser/greasemonkey/npr-text.css.js +++ b/ar/.config/qutebrowser/greasemonkey/npr-text.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/opengroup.css.js b/ar/.config/qutebrowser/greasemonkey/opengroup.css.js index fdce0d3..fdce0d3 100644 --- a/global/.local/share/qutebrowser/greasemonkey/opengroup.css.js +++ b/ar/.config/qutebrowser/greasemonkey/opengroup.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/rarbg.css.js b/ar/.config/qutebrowser/greasemonkey/rarbg.css.js index 16e4666..16e4666 100644 --- a/global/.local/share/qutebrowser/greasemonkey/rarbg.css.js +++ b/ar/.config/qutebrowser/greasemonkey/rarbg.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/reddit.css.js b/ar/.config/qutebrowser/greasemonkey/reddit.css.js index 9677090..9677090 100644 --- a/global/.local/share/qutebrowser/greasemonkey/reddit.css.js +++ b/ar/.config/qutebrowser/greasemonkey/reddit.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/smbc-comics.css.js b/ar/.config/qutebrowser/greasemonkey/smbc-comics.css.js index 926559c..926559c 100644 --- a/global/.local/share/qutebrowser/greasemonkey/smbc-comics.css.js +++ b/ar/.config/qutebrowser/greasemonkey/smbc-comics.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/stackexchange.css.js b/ar/.config/qutebrowser/greasemonkey/stackexchange.css.js index 845b0a6..845b0a6 100644 --- a/global/.local/share/qutebrowser/greasemonkey/stackexchange.css.js +++ b/ar/.config/qutebrowser/greasemonkey/stackexchange.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/termbin.css.js b/ar/.config/qutebrowser/greasemonkey/termbin.css.js index 0c559aa..0c559aa 100644 --- a/global/.local/share/qutebrowser/greasemonkey/termbin.css.js +++ b/ar/.config/qutebrowser/greasemonkey/termbin.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/wiki.css.js b/ar/.config/qutebrowser/greasemonkey/wiki.css.js index 301f85e..301f85e 100644 --- a/global/.local/share/qutebrowser/greasemonkey/wiki.css.js +++ b/ar/.config/qutebrowser/greasemonkey/wiki.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/xkcd.css.js b/ar/.config/qutebrowser/greasemonkey/xkcd.css.js index 2dfaa1d..2dfaa1d 100644 --- a/global/.local/share/qutebrowser/greasemonkey/xkcd.css.js +++ b/ar/.config/qutebrowser/greasemonkey/xkcd.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/ycombinator.css.js b/ar/.config/qutebrowser/greasemonkey/ycombinator.css.js index cdc02a2..cdc02a2 100644 --- a/global/.local/share/qutebrowser/greasemonkey/ycombinator.css.js +++ b/ar/.config/qutebrowser/greasemonkey/ycombinator.css.js diff --git a/global/.local/share/qutebrowser/greasemonkey/youtube-ads.js b/ar/.config/qutebrowser/greasemonkey/youtube-ads.js index 21d4214..21d4214 100644 --- a/global/.local/share/qutebrowser/greasemonkey/youtube-ads.js +++ b/ar/.config/qutebrowser/greasemonkey/youtube-ads.js diff --git a/ar/.config/qutebrowser/greasemonkey/youtube.css.js b/ar/.config/qutebrowser/greasemonkey/youtube.css.js new file mode 100644 index 0000000..6807ff3 --- /dev/null +++ b/ar/.config/qutebrowser/greasemonkey/youtube.css.js @@ -0,0 +1,31 @@ +// ==UserScript== +// @name YouTube +// @include *://*.youtube.com/* +// ==/UserScript== + +/* ~/.config/qutebrowser/greasemonkey/youtube.css.js :: */ + +document.addEventListener( + "load", + () => { + try { + document.querySelector(".ad-showing video").currentTime = 99999; + } catch {} + try { + document.querySelector(".ytp-ad-skip-button").click(); + } catch {} + }, + true, +); + +GM_addStyle(` + ytd-compact-promoted-video-renderer, + .ytd-action-companion-ad-renderer, + .ytd-ad-slot-renderer, + .ytd-promoted-sparkles-web-renderer { + display: none !important; + }, + .ytp-gradient-bottom { + display: none !important + } +`); diff --git a/global/.local/share/qutebrowser/userscripts/add-nextcloud-bookmarks b/ar/.config/qutebrowser/userscripts/add-nextcloud-bookmarks index 2a480cc..2a480cc 100755 --- a/global/.local/share/qutebrowser/userscripts/add-nextcloud-bookmarks +++ b/ar/.config/qutebrowser/userscripts/add-nextcloud-bookmarks diff --git a/global/.local/share/qutebrowser/userscripts/add-nextcloud-cookbook b/ar/.config/qutebrowser/userscripts/add-nextcloud-cookbook index 1510907..1510907 100755 --- a/global/.local/share/qutebrowser/userscripts/add-nextcloud-cookbook +++ b/ar/.config/qutebrowser/userscripts/add-nextcloud-cookbook diff --git a/global/.local/share/qutebrowser/userscripts/qr b/ar/.config/qutebrowser/userscripts/qr index 8421524..8421524 100755 --- a/global/.local/share/qutebrowser/userscripts/qr +++ b/ar/.config/qutebrowser/userscripts/qr diff --git a/global/.local/share/qutebrowser/userscripts/qute-pass b/ar/.config/qutebrowser/userscripts/qute-pass index 6b071b8..6b071b8 100755 --- a/global/.local/share/qutebrowser/userscripts/qute-pass +++ b/ar/.config/qutebrowser/userscripts/qute-pass diff --git a/global/.local/share/qutebrowser/userscripts/translate b/ar/.config/qutebrowser/userscripts/translate index 25c66dd..25c66dd 100755 --- a/global/.local/share/qutebrowser/userscripts/translate +++ b/ar/.config/qutebrowser/userscripts/translate diff --git a/global/.local/share/qutebrowser/greasemonkey/youtube.css.js b/global/.local/share/qutebrowser/greasemonkey/youtube.css.js deleted file mode 100644 index e86edf9..0000000 --- a/global/.local/share/qutebrowser/greasemonkey/youtube.css.js +++ /dev/null @@ -1,18 +0,0 @@ -// ==UserScript== -// @name YouTube -// @include *://*.youtube.com/* -// ==/UserScript== - -/* ~/.config/qutebrowser/greasemonkey/youtube.css.js :: */ - -document.addEventListener('load', () => { - try { document.querySelector('.ad-showing video').currentTime = 99999 } catch {} - try { document.querySelector('.ytp-ad-skip-button').click() } catch {} -}, true); - -GM_addStyle(` - ytd-compact-promoted-video-renderer, .ytd-action-companion-ad-renderer, - .ytd-ad-slot-renderer, .ytd-promoted-sparkles-web-renderer { - display: none !important; - } -`); |
