D
D
daminik002017-01-11 19:59:17
JavaScript
daminik00, 2017-01-11 19:59:17

How to change user agent in Chrome js?

I need to change the User Agent in chrome when the extension is running via JavaScript. Don't offer ready-made extensions, I need it for my project.
Thanks to everyone who responded

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yarkov, 2017-01-11
@daminik00

https://developer.mozilla.org/en-US/Add-ons/WebExt...
Catch the necessary requests and replace the UserAgent

T
Terenty Sinaev, 2017-01-11
@TetraSh

And words to write, links not all open.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question