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

google user agent does not work #5

Closed cweiske closed 10 years ago

cweiske commented 10 years ago

I tried to add the googlebot user agent:

Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Unfortunately, something is broken. Firebug tells me:

User-Agent  //www.google.com/bot.html)
muzuiget commented 10 years ago

Your string format is wrong, you should add a label string in beginning of the sring, like Google Bot:, so the right string is

Google Bot: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)