Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
4.97k stars 144 forks source link

[Bug]: Spoofing user agent is not effective if OS is changed #1249

Closed stilgarwolf closed 5 days ago

stilgarwolf commented 6 days ago

Pre-Submission Checklist

Bug Summary

Spoofing user agent conflicts with script variable window.navigator when the specified operating system is changed.

Same for Browser.

Reproduction Steps

  1. For Linux computers
  2. Set user agent to "Spoof Chrome on Windows"
  3. Check the reported True Operating System Core at https://www.deviceinfo.me

Expected Behavior

True Operating System Core: Windows 10 or 11 version 10.0 (64-bit), or Windows Server 2016 or 2019 or 2022 version 10.0 (64-bit) . . . True Browser Core: Chrome version 125.0.0.0 (Engine: Blink)

Actual Behavior

True Operating System Core: Linux x86_64 . . . True Browser Core: Firefox

Screenshots

image

Browser Version

11.14.1 (64-bit)

Operating System

Linux (Debian SID)

Additional Context

Try Chameleon extension which works better: True Operating System Core: Unknown. Detection not supported or is blocked by browser setting(s)/extension(s). . . . True Browser Core: Chromium

regularentropy commented 6 days ago

The included user agent changer is obsolete. Please use extension.

stilgarwolf commented 6 days ago

I'm already using Chameleon