]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: fake user agent for Slack
authorSamir Benmendil <me@rmz.io>
Fri, 23 May 2025 20:42:53 +0000 (21:42 +0100)
committerSamir Benmendil <me@rmz.io>
Fri, 29 Aug 2025 16:47:57 +0000 (17:47 +0100)
qutebrowser/config.py

index fa173b364506a44641205a027abfea715f1b0e79..b5fd824aa7ec5d0398025b84e12dc3fea9a91a7a 100644 (file)
@@ -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 (`<a ping>`).
 ## Type: Bool