{"id":7122,"date":"2022-02-18T19:15:23","date_gmt":"2022-02-18T19:15:23","guid":{"rendered":"https:\/\/gridinsoft.com\/blogs\/?p=7122"},"modified":"2024-05-31T00:32:52","modified_gmt":"2024-05-31T00:32:52","slug":"firefox-100-and-chrome-100-may-have-user-agent-issues","status":"publish","type":"post","link":"https:\/\/gridinsoft.com\/blogs\/firefox-100-and-chrome-100-may-have-user-agent-issues\/","title":{"rendered":"Firefox 100 and Chrome 100 may have user-agent issues"},"content":{"rendered":"<h4>Mozilla developers have warned that sites may experience problems with the upcoming versions of Firefox 100 and Chrome 100 (released May 3 and March 29, 2022). The fact is that the release of new versions will mean that the user-agent values will become three-digit.<\/h4>\n<p>The user-agent string contains information such as the name of the browser, its version number, and information about the various technologies it uses. So, when a person visits a website, the browser&#8217;s user-agent is sent along with the web page request. This allows the resource to check the visitor&#8217;s software version and change their response depending on the features supported by the browser.<\/p>\n<p>For example, the current user-agent of Mozilla Firefox version 97 looks like this: Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko\/20100101 Firefox\/97.0. And the user-agent for Google Chrome 98 is: Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/98.0.4758.82 Safari\/537.36.<\/p>\n<p>Bleeping Computer <a href=\"https:\/\/www.bleepingcomputer.com\/news\/software\/mozilla-warns-chrome-firefox-100-user-agents-may-break-sites\/\" target=\"_blank\" rel=\"noopener nofollow\">says<\/a> that back in August 2021, Mozilla engineers began an experiment to find out if the three-digit user-agent &#8220;Firefox\/100&#8221; would cause problems when working with sites. Google developers soon conducted a similar experiment for Chrome 100. As a result, the experts found a small number of sites that did not work correctly with the new user-agent.<\/p>\n<p>Since then, Mozilla has been monitoring version 100 bugs and has already found issues on <a href=\"https:\/\/github.com\/webcompat\/web-bugs\/issues\/83400\" target=\"_blank\" rel=\"noopener nofollow\">HBO Go<\/a>, <a href=\"https:\/\/github.com\/webcompat\/web-bugs\/issues\/94607\" target=\"_blank\" rel=\"noopener nofollow\">Bethesda<\/a>, <a href=\"https:\/\/github.com\/webcompat\/web-bugs\/issues\/94459\" target=\"_blank\" rel=\"noopener nofollow\">Yahoo<\/a>, <a href=\"http:\/\/github.com\/webcompat\/web-bugs\/issues\/67866\" target=\"_blank\" rel=\"noopener nofollow\">Slack<\/a>, and resources created with the <a href=\"http:\/\/bugs.chromium.org\/p\/chromium\/issues\/detail?id=1273958&amp;q=v100&amp;can=1\" target=\"_blank\" rel=\"noopener nofollow\">Duda builder<\/a>. Most of these bugs are limited to \u201cbrowser not supported\u201d messages, as well as user interface issues that can affect different parts of sites.<\/p>\n<div class=\"su-quote su-quote-style-default su-quote-has-cite\"><div class=\"su-quote-inner su-u-clearfix su-u-trim\">Without a single specification to follow, different browsers have different formats for the user-agent string, and user-agent parsing is site-specific. Perhaps some parsing libraries contain hard-coded assumptions or bugs that do not take into account three-digit version numbers. Many libraries have improved parsing performance when browsers have moved to two-digit version numbers, so it is expected that the transition to three-digit versions will cause less problems.<span class=\"su-quote-cite\"><a href=\"https:\/\/hacks.mozilla.org\/2022\/02\/version-100-in-chrome-and-firefox\/\" target=\"_blank\" rel=\"nofollow noopener\">Mozilla engineers explain.<\/a><\/span><\/div><\/div>\n<p>If problems with sites do arise and are too numerous, and Mozilla or Google cannot fix it before the release of new versions, developers have backup plans. In particular, Firefox has a <a href=\"https:\/\/wiki.mozilla.org\/Compatibility\/Interventions_Releases\" target=\"_blank\" rel=\"noopener nofollow\">mechanism<\/a> that allows to &#8220;freeze&#8221; the user-agent to &#8220;Firefox\/99&#8221; or inject CSS into a problem site. Similarly, Chrome can &#8220;freeze&#8221; the version displayed by the user-agent at 99 and list the actual browser version on a different part of the string.<\/p>\n<p>Mozilla asks site administrators to check in advance whether their resources accept the user-agent Firefox 100 and Chrome 100 normally. To do this, in Firefox admin needs to open the Firefox Nightly settings menu, find &#8220;Firefox 100&#8221;, and then activate the &#8220;Firefox 100 User-Agent String&#8221; flag . This will change the Firefox user-agent string to Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko\/20100101 Firefox\/100.0.<\/p>\n<p>In Chrome, go to chrome:\/\/flags\/#force-major-version-to-100, enable the setting, and the user-agent string will change to Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/100.0.4758.102 Safari\/537.36.<\/p>\n<p>If problems are found, then bug reports should be submitted to <a href=\"https:\/\/webcompat.com\/issues\/new?label=version100\" target=\"_blank\" rel=\"noopener nofollow\">webcompat.com<\/a> so that the developers have time to fix them.<\/p>\n<p>Let me remind you that we also reported that <a href=\"\/blogs\/chrome-90-gets-new-security-feature\/\">Chrome 90 gets a new security feature to protect against attacks on Windows 10<\/a>.<\/p>\n<p>And, you may be interested in the information that <a href=\"\/blogs\/mozilla-downsizing-affects-security-professionals\/\">Mozilla Downsizing Affects Security Professionals<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mozilla developers have warned that sites may experience problems with the upcoming versions of Firefox 100 and Chrome 100 (released May 3 and March 29, 2022). The fact is that the release of new versions will mean that the user-agent values will become three-digit. The user-agent string contains information such as the name of the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":7124,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[15],"tags":[82,513],"class_list":{"0":"post-7122","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-security-news","8":"tag-google-chrome","9":"tag-mozilla-firefox"},"featured_image_src":"https:\/\/gridinsoft.com\/blogs\/wp-content\/uploads\/2022\/02\/100.jpg","author_info":{"display_name":"Vladimir Krasnogolovy","author_link":"https:\/\/gridinsoft.com\/blogs\/author\/krasnogolovy\/"},"_links":{"self":[{"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/posts\/7122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/comments?post=7122"}],"version-history":[{"count":2,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/posts\/7122\/revisions"}],"predecessor-version":[{"id":7447,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/posts\/7122\/revisions\/7447"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/media\/7124"}],"wp:attachment":[{"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/media?parent=7122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/categories?post=7122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gridinsoft.com\/blogs\/wp-json\/wp\/v2\/tags?post=7122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}