Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[uaoverride] Implement site specific feature for add and remove #3

Open
karlcow opened this issue May 28, 2014 · 1 comment
Open

[uaoverride] Implement site specific feature for add and remove #3

karlcow opened this issue May 28, 2014 · 1 comment

Comments

@karlcow
Copy link
Owner

karlcow commented May 28, 2014

Sometimes for the purpose of testing there is a need to add or remove a domain. This can be done

overrides through old-style prefs are
independent and still controlled by
"general.useragent.site_specific_overrides".

https://github.com/karlcow/webcompat/blob/master/moz/mozua2.sh

@karlcow
Copy link
Owner Author

karlcow commented May 28, 2014

To be more explicit:

you can do in /system/b2g/defaults/pref/user.js

pref("general.useragent.override.example.org", "\(Mobile#(Android; Mobile");

where example.org is the targeted domain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant