Page 1 of 1

Is it possible to change User-Agent at runtime?

PostPosted: Wed Jan 13, 2021 8:19 am
by Tako
Probably you know any hacks or something

Re: Is it possible to change User-Agent at runtime?

PostPosted: Wed Jan 13, 2021 2:23 pm
by amaitland
You can use DevTools to change the user agent at runtime.

https://chromedevtools.github.io/devtoo ... ntOverride

CEF supports sending DevTools commands programatically.

https://bitbucket.org/chromiumembedded/ ... ation-over

I don't have a CefGlue specific example, hopefully that's enough to get you started.