keithbowes / user-agent-switcher

A browser extension that adds a menu and a toolbar button to switch the user agent of a browser.
http://chrispederick.com/work/user-agent-switcher/
GNU General Public License v3.0
3 stars 1 forks source link

Allow configuration of the user agent automatically on a per-domain basis #8

Open keithbowes opened 7 years ago

keithbowes commented 7 years ago

This should be easy to accomplish by writing the general.useragent.site_specific_overrides and general.useragent.override.[sitename] prefs. The hard part will likely be designing the front-end to manage them.

razron commented 7 years ago

Have no idea if it would help you may want to look at UAControl : [ https://addons.mozilla.org/en-us/firefox/addon/uacontrol/ ].

keithbowes commented 7 years ago

I've never tried UAControl, but I was looking at the UI in Konqueror as inspiration. Anyway, I've abandoned doing it this way. I'm going to wait for the migration to WebExtensions and filter in the WebRequest callback, without messing with the user's browser settings.