Igor Simic
11 months ago

Modify outgoing request headers just by using Chrome devTools


How to modify User Agent String just by using Chrome DevTools? In  this article you can find out how you can easy change user agent just by using Chrome devTools - no extensions.

In order to simulate request coming from search bot, from specific mobile device or any other request where you want to change User Agent, here are the steps you need to do:
  1. open Chrome developers toolbar Option + ⌘ + J (on macOS), or Shift + CTRL + J (on Windows/Linux).
  2. Press Command+Shift+P (Mac) or Control+Shift+P (Windows, Linux, Chrome OS) to open the Command Menu.
    
    Type network conditions
    
  3. Type network conditions in search box and press enter
  4. In the User agent section disable the Select automatically checkbox.
    
    change User Agent to Twitter Bot
    
  5. In order to change User Agent to TwitterBot - or any other you can just enter your string in text field
  6. If you want to simulate request coming from Googlebot or from specific browser or from mobile device you can select one of predefined values by clicking on 
    "Custom..."
    
    select predefined User Agent
    
And there you have it, no plugins, just using devTools from Chrome you can change User agent in your request