From 7fa5362d8924231a425e5a2bf5bafef8c790d4ec Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Fri, 23 May 2025 21:42:53 +0100 Subject: [PATCH] qutebrowser: fake user agent for Slack --- qutebrowser/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/config.py b/qutebrowser/config.py index fa173b3..b5fd824 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -490,6 +490,7 @@ c.content.headers.accept_language = 'en-UK;q=1.0, en;q=0.9, de;q=0.7, fr;q=0.7, ## JavaScript requires a restart. ## Type: FormatString # c.content.headers.user_agent = 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {qt_key}/{qt_version} {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}' +config.set('content.headers.user_agent', "'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36", '*://*.slack.com/*') ## Enable hyperlink auditing (``). ## Type: Bool -- 2.50.1