Changes

Jump to: navigation, search

B2G/QA/Tips And Tricks

22 bytes added, 00:07, 2 August 2013
Changing preferences
adb shell sync && adb reboot
* this overrides the User Agent string to Fennec (Firefox for Android) as per https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference
adb root
adb pull /system/b2g/defaults/pref/user.js .
echo 'pref("general.useragent.override", "Mozilla/5.0 (LinuxAndroid; UMobile; Android 4.3rv:22.0; en-us; LG-D30008M Build/1.1FFxOS) AppleWebkit/534.30 (KHTML, like Gecko) Version/422.0 Mobile SafariFirefox/53422.300");' >> user.js
adb remount
adb push user.js /system/b2g/defaults/pref
Confirm
330
edits

Navigation menu