You can spoof it right now with a hacky preference. Add the following to a file custom-prefs.js inside the gaia dir and reflash gaia.

user_pref("general.useragent.override", "[Spoofed UA]");

On Tue Nov  6 14:11:40 2012, Lawrence Mandel wrote:
To support the mobile Web compatibility effort, I would like to add 
functionality to B2G that allows switching/spoofing the UA. Something like 
Phony (https://addons.mozilla.org/en-US/mobile/addon/phony/) would work well. 
AFAIK, the B2G browser does not support add-ons. Is there a way for an app to 
change the B2G UA? Does anyone have any other ideas for how to easily add this 
type of functionality to B2G?

Thanks,

Lawrence
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g


_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to