New issue
Advanced search Search tips

Issue 745066 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Feature



Sign in to add a comment

The "platform" and "appVersion" ID strings cannot be changed or configured - a privacy leak/risk

Reported by anestl...@gmail.com, Jul 17 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
https://browserleaks.com/javascript

I want to be able to change what my chrome reports in the "Platform" string.

The same applies to "appVersion".

What is the expected behavior?

What went wrong?
Linux x86_64

Did this work before? N/A 

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 
Flash Version: Unable to change platform

this also applies to UA, but various add-ons allow to change it, even though I'd be happier if there was a chrome://flags/ to edit the" X11; Linux x86_64" part both in UA and appVersion.
 
Components: Infra>Platform
Status: Untriaged (was: Unconfirmed)
Considering the above issue as feature marking it as untriage for further updates from dev.

Thanks!
Components: -Infra>Platform Platform
Components: Privacy
The user agent can be changed, so it might make sense to enable extensions to modify other fields as well? 

On the other hand it is probably easy to identify the browser based on available apis anyway.

Status: WontFix (was: Untriaged)
You can already spoof platform and appVersion by modifying the navigator object with a content script, so no additional api is required.

Example:

Object.defineProperty(window.navigator, 'platform', {
 get: function() {
   return 'Some platform';
 }
});

(from https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg)

Comment 5 by anestl...@gmail.com, Jul 24 2017

I was curious if that can be done without installing an add-on/extension.

Sign in to add a comment