Good, but... Rated 4 out of 5 stars
please make the setting persist over browser restarts.
I would also suggest to slightly rename the Menu entry, something like "User Agent: $agent" (or "UA: $agent"). I think this is a bit less confusing.
Two simple minor changes which will make this addon perfect for me! :-)