]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: fake user agent for Slack
[dotfiles.git] / qutebrowser / config.py
index 0c0cd584c492826bbb453ea112e719c3ceae9738..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}'
 ## 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
 
 ## Enable hyperlink auditing (`<a ping>`).
 ## Type: Bool
@@ -1819,7 +1820,8 @@ c.url.searchengines = {'DEFAULT':        'https://duckduckgo.com/?t=chakra&q={}'
                        'h':              'https://hoogle.haskell.org/?hoogle={}',
                        'fpp/slack':      'https://focalpointpositioning.slack.com/messages/{}',
                        'fpp/confluence': 'https://fppnt.atlassian.net/wiki/search?text={}',
                        'h':              'https://hoogle.haskell.org/?hoogle={}',
                        'fpp/slack':      'https://focalpointpositioning.slack.com/messages/{}',
                        'fpp/confluence': 'https://fppnt.atlassian.net/wiki/search?text={}',
-                       'evk':            'https://gitlab.com/search?&scope=issues&group_id=13301433&search={}',
+                       'evk':            'https://gitlab.com/search?scope=issues&group_id=13301433&search={}',
+                       'stm':            'https://gitlab.com/search?scope=issues&group_id=11101995&project_id=60665292&search={}',
                        'dev':            'https://devdocs.io/#q={}',
                        'phind':          'https://www.phind.com/search?q={}',
                       }
                        'dev':            'https://devdocs.io/#q={}',
                        'phind':          'https://www.phind.com/search?q={}',
                       }