Categories: Google

Google Tests If ‘Chrome/100.0’ User agent breaks websites

Google Tests If ‘Chrome/100.0’ User agent breaks websites

Google is testing whether changing the Chrome user agent to three-digit ‘Chrome/100’ will cause loss of functionality on websites that are expecting a two digit version number.

A user agent is a string sent by a web browser to a website to let the site know what browser the visitor is using, its version, and integrated technology.

When a new version of a browser, such as Google Chrome, is released, the developers will increment the version number in a user agent string.

For example, the user agent for Google Chrome version 93 is:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36

While for the current version, Chrome 94, it is:

"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.54 Safari/537.36

As you can see, the Chrome version number in the user agent string is incremented to match the browser’s version number.

Also Read: New Licensing Requirements For Cyber-Security Service Providers in 2022

By sending the browser user agent to a website, it allows site developers to change a site or app’s functionality to accommodate various browser quirks, features, and abilities.

Testing if Chrome 100 user agent breaks websites

As Google Chrome version numbers are currently two digits, Chrome engineers are investigating whether any site, or its functionality, breaks when Chrome 100 is released in March 2022.

“To avoid any UA string breakage when Chrome ships v100, we should add a flag to chrome://flags which flips the current major version to 100 in the User-Agent string as well as navigator.userAgent,” Google Chrome engineer Mike Taylor explains in a bug post first spotted by Techdows.

When conducting the test, Chrome users will have their user agent changed to the following string with the hopes that if anything breaks, they will report it to Google.

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4651.0 Safari/537.36

similar test was conducted by Mozilla in August 2021 where the Firefox user agent was changed to “Firefox/100.0” user agent.

For the most part, there have not been too many issues, with only a few sites stating the browser is unsupported or problems with the functionality of the site.

Slack’s web interface also showed some problems with popup menu buttons, but was quickly fixed by the Slack developers.

Also Read: A Closer Look: The Personal Information Protection Law in China

To test the Google Chrome 100 user agent on your own sites or sites you visit, you can enable this test using the following steps:

  1. Open Google Chrome Canary, enter chrome://flags in the address bar, and press enter.
  2. Search for Force major version to 100 in User-Agent in the search field, and when the option appears, enable it as shown below.Adding the general.useragent.override setting
  3. When prompted to relaunch the browser, please do so.
  4. Once the browser is opened again, you can close the chrome://flags screen.

Now that this setting is enabled, when you visit web page it will send a user agent indicating that the browser is Chrome 100.

To change Chrome’s user agent back to its default, simply follow this process and change the flag’s setting to Default and relaunch the browser again.

Privacy Ninja

Recent Posts

Enhancing Website Security: The Importance of Efficient Access Controls

Importance of Efficient Access Controls that every Organisation in Singapore should take note of. Enhancing…

1 week ago

Prioritizing Security Measures When Launching Webpage

Prioritizing Security Measures When Launching a Webpage That Every Organisation in Singapore should take note…

2 weeks ago

The Importance of Regularly Changing Passwords for Enhanced Online Security

Importance of Regularly Changing Passwords for Enhance Online Security that every Organisation in Singapore should…

2 weeks ago

Mitigating Human Errors in Organizations: A Comprehensive Approach to Data Protection and Operational Integrity

Comprehensive Approach to Data Protection and Operational Integrity that every Organsiation in Singapore should know…

3 weeks ago

The Importance of Pre-Launch Testing in IT Systems Implementation

Here's the importance of Pre-Launch Testing in IT Systems Implementation for Organisations in Singapore. The…

4 weeks ago

Understanding Liability in IT Vendor Relationships

Understanding Liability in IT Vendor Relationships that every Organisation in Singapore should look at. Understanding…

1 month ago