muzuiget / user_agent_overrider

Firefox extension to override browser user agent string
https://addons.mozilla.org/firefox/addon/user-agent-overrider/
61 stars 19 forks source link

Allow resetting to default #9

Closed hfiguiere closed 8 years ago

hfiguiere commented 10 years ago

It didn't seem obvious but the add-on menu lack a "default" entry to reset to the default.

muzuiget commented 10 years ago

You can click the button change it to gray.

hfiguiere commented 10 years ago

that wasn't obvious as it is very subtle. Let alone if one is colour blind.

mikerockett commented 10 years ago

I must agree with @hfiguiere. Perhaps a simple badge to indicate the current state?

goetzc commented 9 years ago

Why not, additionally add another menu entry named Default?

Gitoffthelawn commented 8 years ago

@hfiguiere @goetzc If you are interested, you can add a line to userChrome.css like this:

useragentoverrider-button:not([disabled]) { background-color: lightblue !important; }

to make the button light blue when enabled.

Or you can do something like:

useragentoverrider-button[disabled] { background-color: red !important; }

to make the button red when not enabled.

Mix and match to suit your needs!