Is possible to spoof user-agent and OS with Chrome?

Deep Blue picture Deep Blue · Aug 29, 2014 · Viewed 15.9k times · Source

What are the options to block the methods bellow with Chrome?

navigator.appVersion

Info os.name

as I was successfully profiled in

http://browserspy.dk/browser.php

I´d like to hide Browser and OS in order to avoid exploits.

Answer

KyleMit picture KyleMit · Dec 16, 2016

You can change the User Agent string in Dev Tools:

  1. Open Developer Tools (F12)
    Developer Tools
  2. Show the Console Drawer at the bottom by hitting Esc
    Console Drawer
  3. Add the Network Conditions tab to the drawer
    Network Conditions
  4. Under User Agent, uncheck "Select automatically", and pick a browser you wish to emulate or customize the string however you'd like
    User Agent