From 22a3f4d4b7a6b82b9dbe2087dd1b57a07df38c16 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Mon, 6 Nov 2023 13:53:27 +0100 Subject: [PATCH] Site specific settings. --- .config/qutebrowser/config.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index a24433d..8f22796 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -54,3 +54,31 @@ c.content.private_browsing = False c.completion.web_history.max_items = 0 c.completion.cmd_history_max_items = 0 +##-- Devtool Settings --## +with config.pattern("chrome-devtools://*") as s: + s.content.cookies.accept = "all" + s.content.images = True + s.content.javascript.enabled = True + +with config.pattern("devtools://*") as s: + s.content.cookies.accept = "all" + s.content.images = True + s.content.javascript.enabled = True + +with config.pattern("chrome://*/*") as s: + s.content.javascript.enabled = True + +with config.pattern("qute://*/*") as s: + s.content.javascript.enabled = True + +##-- Site settings --## +with config.pattern("https://searx.cronyakatsuki.xyz/*") as s: + s.content.cookies.accept = "all" +with config.pattern("https://monkeytype.com") as s: + s.content.javascript.enabled = True + s.content.cookies.accept = "all" +with config.pattern("https://piped.cronyakatsuki.xyz/*") as s: + s.content.javascript.enabled = True + s.content.cookies.accept = "all" + +