We have a noticed a very strange behaviour with the latest FireFox (126). One of our webpage is behaving differently across our Integration and production environment. Bo… (czytaj dalej)
We have a noticed a very strange behaviour with the latest FireFox (126). One of our webpage is behaving differently across our Integration and production environment. Both env are running identical code and similar network stack the only difference we have noticed so far is for our Integration env Firefox is sending the different user-agent string than for production.
Steps to reproduce:
1. Open https://integration4-view.publitas.com/automation-int4/reader-happy-path/page/1
2. Go to console and view navigator.userAgent the user-agent string will be:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0"
3. Now open the same content on production -> https://view.publitas.com/automation-prod/reader-happy-path/page/1
4. Go to console and view navigator.userAgent the user-agent string will be:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) FxQuantum/126.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.71 Safari/537.36"
Our website changes behaviour based on which browser it is and based on second string our backend interprets the browser as chrome instead of Firefox.
If I change privacy.resistFingerprinting to True then the user-agent string is sent correctly.
Can you please help us identify what changed in the latest version that is causing this behaviour.
Version: 126 (64 bit)
Test on Windows 11 and Mac OSX