codenameone - Codename One - BrowserComponent: custom user-agent -


i've read browsercomponent api, didn't find setuseragent() method. how can force browsercomponent use custom user-agent string?

thank help.

it's not documented since isn't supported everywhere should work fine on android , ios. should work:

browsercomponent.setproperty("useragent", youruseragenthere); 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -