Change the user agent of the browser

Hi all

I am working on an app for Blackberry 6 and 7 using Webworks. I was wondering if it is possible to change the user agent of the browser.

What I would do is, add a string to the end. For example:

Default: ' Mozilla/5.0 (BB7) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36 Chrome/33.0.1750.149.

Mine: "Mozilla/5.0 (BB7) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36 CustomText, Chrome/33.0.1750.149.

Thanks in advance!

The config.xml file, you can declare rim: userAgent value

https://developer.BlackBerry.com/HTML5/documentation/v1_0/widget_element_834671_11.html

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • Have FF 33.1 and 34.0.5. What I can, and should, delete the old version?

    This non computer savvy female senior trying to clean my laptop Dell (windows XP SP3) for the new year. What trash I accumulated! Noticed in any case, I have 2 versions of Firefox. Version is 33.1 MB 79,58 and 34.0.5 version 84.4 MB. Can I remove the

  • Satellite C650 cooling fan lights up regularly

    Hello I recently bought a C650 and find that the cooling fan will continue to run, even if the laptop is not too hot.The fan will run for about 15 seconds, then turn off for 30 to 60 seconds before turning on the back. And this is of course not quiet

  • This isn't a question, but I think that these things should be done for iOS 10.

    I watched a few videos on iOS 10 and what we should be waiting, and I think that this video captures 10 of the most important things that should be added in iOS 10 just to make life easier and more customizable. AND for the LOVE OF ALL THINGS GOOD AN

  • HP Pavilion dv6-1225ei: upgrading Ram for laptop

    I'm trying to exceed 10 32-bit windows. I want to upgrade to 8gig of ram. I know that I need 64-bit for this. I saw on the Intel site, I have a 64-bit processor, but it is a little old now. So I would like to know if it would be able to run 10 64-bit

  • HP photosmart C4180 error message

    I get the error message REMOVE AND CHECK CARTRIDGE on RIGHT, I removed and cleaned and re-installed but no change. It is not printing