Update user agents

This commit is contained in:
Florian Bruhin 2025-06-05 16:38:10 +02:00 committed by Chad Kouse
parent a0a0e3fde7
commit d1738516af
No known key found for this signature in database
GPG Key ID: 2BBC602A2578C7A2
2 changed files with 7 additions and 7 deletions

View File

@ -506,7 +506,7 @@ def _init_site_specific_quirks():
# "{qt_key}/{qt_version} "
# "{upstream_browser_key}/{upstream_browser_version_short} "
# "Safari/{webkit_version}")
firefox_ua = "Mozilla/5.0 ({os_info}; rv:136.0) Gecko/20100101 Firefox/136.0"
firefox_ua = "Mozilla/5.0 ({os_info}; rv:136.0) Gecko/20100101 Firefox/139.0"
def maybe_newer_chrome_ua(at_least_version):
"""Return a new UA if our current chrome version isn't at least at_least_version."""

View File

@ -772,14 +772,14 @@ content.headers.user_agent:
# Vim-protip: Place your cursor below this comment and run
# :r!python scripts/dev/ua_fetch.py
- - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36"
- Chrome 135 macOS
(KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
- Chrome 137 macOS
- - "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/135.0.0.0 Safari/537.36"
- Chrome 135 Win10
like Gecko) Chrome/137.0.0.0 Safari/537.36"
- Chrome 137 Win10
- - "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/135.0.0.0 Safari/537.36"
- Chrome 135 Linux
Gecko) Chrome/137.0.0.0 Safari/537.36"
- Chrome 137 Linux
supports_pattern: true
desc: |
User agent to send.