SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.83k stars 94 forks source link

Change User-Agent option for privacy #511

Closed ghost closed 5 months ago

ghost commented 5 months ago

Description

Just like User-Agent Switcher and Manager extension.

Suggestions

It would be really useful if we would be able fake user-agent to Windows, Mac, Firefox, Opera and so on, on privacy tweaks.

Alternatives

Maybe use the extension in the Chromium wrapper if it's not so simple to implement it natively.

Additional Context

No response

SpacingBat3 commented 5 months ago

It is already possible to fake the os, os version, arch and device in the user agent. I honestly doubt modifying other values might somehow improve your privacy and will definitely hurt the usability. In fact, it could make you more suspicious and look more distinct from the others if some of browser-specific features would not work correctly.

You should know WebCord by default already spoofs the user agent to match the Chromium ones. As Electron's fingerprint usually matches the Chromium ones, I feel like this is the safest option if there would be some fingerprinting happening, since it doesn't make user distinct too much from the others, although given Chromium doesn't have as many anti-fingerprinting protections as Firefox, I can't guarantee that every user and hardware ends with the same fingerprint with the WebCord.

I think WebCord hides enough info about itself while pretending as a Chromium browser at the current platform, since given the Electron and Chromium similarities it acts great as a illusion of being an actual Chromium browser. I'm kinda aware spoofing the user agent as another browser might just easily shatter it, and cause more harm than good.