Hot Take Chrome Mask - Makes Firefox wear a mask to look like Chrome.

lokamoka820

Level 46
Thread author
Verified
Top Poster
Well-known
Mar 1, 2024
3,589
3
12,268
4,469
Banana Republic
A little Firefox Extension that provides a one-click toggle to spoof as Chrome in Firefox - or, in other words, to put on the Chrome Mask.

Why?​

There are a lot of generic "User Agent spoof" extensions. However, this extension does a few things differently:
  • Unlike some extensions with outdated version numbers and UA strings, this extension automatically updates the Chrome version it pretends to be. It does that by querying a simple API every 24 hours, check the privacy policy for a bit more details.
  • You don't have to pick the correct Operating System manually; this extension does it for you.
  • This extension also shims a few additional JavaScript attributes, like navigator.vendor or the global chrome object, to pass common browser checks.

What this isn't doing​

This extension does not attempt to shim common Chrome-only Web Platform APIs. Doing so would lead me down into an endless pit of despair. It also does not shim any Client Hint headers.

317431.png
 
And then they write that Firefox has 2% of the market... Those who haven't blocked all telemetry are masquerading as Chrome. 😁
Actually, Firefox automatically masks itself as Chrome on websites that don't officially support it, but work normally. Some devs are stubborn and refuse to allow Firefox even though their website is 100% compatible. And because Firefox devs do not have control over websites other than their own, they simply add website to the list of sites on which Firefox will present itself as Chrome.

Chrome Mask is designed for websites that aren't Mozilla's list because certain features of the website aren't compatible with the browser, or performance issues.
 
Last edited:
  • Hundred Points
Reactions: lokamoka820