Categories: Give Feedback :

Built-in User agent switcher?

Showing 1-43 of 43 messages
Built-in User agent switcher? Ky 12/30/08 1:45 AM
A user agent switcher would solve most of the browser sniffing problems (the recent hotmail issues). Opera's got one that works very fine (You simply have to right click on the page and select <mask as firefox>). An auto-switching feature would be awesome as well.
Re: Built-in User agent switcher? karim 1/5/09 10:07 AM
yep ... i think this is desperately needed. there's nothing wrong with browser spoofing, its a common industry practice (in its early days, IE used to spoof as Netscape, Opera has a feature for this, Firefox has an extension for this). Even IE has a registry setting which allows you to change this (albeit for all websites). I suggested this on the chromium-discuss group, and got a response saying this should be an extension. I disagree, I think it should be a built in feature.
Re: Built-in User agent switcher? ad0nis 4/27/09 11:35 AM
I totally agree. A built-in user agent switcher would be a great addition to chrome. Just wanted to put my two cents in.
Re: Built-in User agent switcher? nakro 4/27/09 12:02 PM
there is no build in user agent switcher, but(!) you can pass the user agent string in the command line

for example, this is how to make chrome report itself as IE8.0 on my machine
C:\Users\XXXX\AppData\Local\Google\Chrome\Application\chrome.exe --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"

so basically just add --user-agent="what ever you want to impersonate to" to the target in the shortcut to chrome
and launch chrome using that shortcut!

Re: Built-in User agent switcher? jimster 7/7/09 11:54 AM
Why do I have to fool around with this when Firefox works just fine out of the box?  BTW, my screen is set at 1024x768.
Jim
Re: Built-in User agent switcher? BOBAH 7/16/09 5:40 PM
This is lame -- Google docs gives "Sorry, but this browser does not support web word-processing."
Re: Built-in User agent switcher? skprock 3/19/10 2:12 PM
i do not get solve
Re: Built-in User agent switcher? dazonic 5/26/10 7:16 PM
Mac:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome -user-agent="Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10"
Re: Built-in User agent switcher? zetabosio 6/1/10 11:24 AM
I still don't understand where or how to write this  --user-agent="what ever you want to impersonate to".
Could anyone please explain me step by step? I'm not very good with computers.
Any help will be highly appreciated.

I'm trying to use www.constantcontact.com and the response I get is:

We have detected that your browser is not compatible with Constant Contact’s New Email Wizard.

We recommend using one of the following browsers to access the New
Email Wizard:
Internet Explorer 7+ [ Download ]
Firefox 3.0+ [ Download ]
Constant Contact does not sell, resell, or license any of the browsers listed.
We cannot be held liable for issues that arise from the download or use of these products.
Please log in to Constant Contact using one of the above browsers to edit the selected email.
Re: Built-in User agent switcher? xeros 6/7/10 3:31 AM
Well, "--user-agent" option is usefull but more usefull would be an option to change user agent only for specific web sites (for example there are many banking sites which could be used only with Firefox or Internet Explorer user agent, which work in Chromium/Chrome with changed user agent) and leave default user agent for rest sites.
Re: Built-in User agent switcher? FreezeWarp 6/7/10 2:20 PM
@zetabosio - In Windows, open the command prompt (Win Key+R, then cmd.exe) and execute the above commands by copy and pasting them:
  C:\Users\XXXX\AppData\Local\Google\Chrome\Application\chrome.exe --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"

Make sure to replace the user and exact location of Google Chrome as needed. In Mac and Linux you will want to use the respective terminal emulator.
Re: Built-in User agent switcher? HT1 6/7/10 2:53 PM
its a pretty finite group needing to pretend to be another browser. most users don't care.

that said you can use the extension IE Tab Classic to both "pretend to be Internet Explorer" and view the page as ie itself.

Useful if you have some installed addons on it like AI Roboform you want to use with Chrome.
Re: Built-in User agent switcher? xeros 6/8/10 1:25 AM
@ht1, most users just ignore this browser and try another one when they can't login to most used web sites without going to find this question and send a reply so that's why you've got impression that's finite group. And for IE Tab Classic, as you might not know many (maybe even most?) Chrome/Chromium users use Linux, not Windows and there's no IE. I don't like to open Firefox or Konqueror (with it's built-in useragent switcher) for login to few sites. I've posted many times to the site admins when I can't login using Chrome/Chromium with it's default user agent but I can with pretending to be Firefox by --user-agent Chromium option, but they ignore my requests telling that using unsupported browser is a security risk and they wont add Chrome/Chromium user agent to their list of supported browsers.
Re: Built-in User agent switcher? rkevinhill 6/10/10 8:10 AM
"It's a pretty finite group." As Pauline Kael said, she couldn't imagine how Nixon could be elected president, none of her friends could stand him.

I prefer to use one browser, though I have several handy. I have no trouble using Chromium on the websites I use, except Netflix. You may have heard of it? Sure, we're a pretty finite group, only about ten million subscribers. I open Safari to stream video because of the user agent string issue. I've tried  the command line approach, but found it annoying.

As Safari 5 rolls out with lots of Chrome extension ports, maybe the solution for Mac Netflix users is to abandon Chrome? I doubt this will have an impact though. We're a pretty finite group.
Re: Built-in User agent switcher? vostok 10/17/10 9:20 PM
Re: Built-in User agent switcher? CompuMatter 11/1/10 7:22 AM
WOW, this is a wonderful solution for LINUX!! Works like a charm. Edit the properties of a Chrome Shortcut and past this:

/opt/google/chrome/google-chrome --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"

Ran QuickBooks online perfectly where it failed before!

Jay
CompuMatter
Re: Built-in User agent switcher? jamshark70 1/16/11 1:10 AM
Just a polite question for the chrome developers -- why does a default installation of chrome in Ubuntu impersonate itself as windows XP? I mean, XP? What did you guys do, just hardcode a default string?

I kind of feel like that vacuum cleaner guy on TV -- "I just think things ought to work properly."

Maybe I should consider it fortunate -- if everybody has a nonsense user agent string, then the user agent becomes useless for tracking.
Re: Built-in User agent switcher? jamshark70 1/16/11 1:14 AM
Oh, by the way, it doesn't work.

/opt/google/chrome/google-chrome --user-agent="Mozilla/5.0 (Ubuntu; U; Ubuntu 10.04; en; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11" %U

But useragentstring.com still reports the old one.

Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)

fail fail fail fail fail fail fail fail fail
Re: Built-in User agent switcher? carl0s- 2/2/11 7:00 PM
The problem with switching the useragent for the browser as a whole, is that you'll break other things. For example you'll be presented with dowloads for the platform that you're spoofing. This can be more of an annoyance than you might think.
I don't have many examples in my head, but I noticed another one only yesterday and that was freshmeat.net

Really, we need an addon that allows specific bookmarks to have their useragent string, overridden. I remember there being one but it not working in current version or something.
Re: Built-in User agent switcher? carl0s- 2/2/11 7:13 PM
Sorry, just checked, it was actually sourceforge.net:
"By default, we'll show you software that runs on Linux "
Re: Built-in User agent switcher? alwalker57 3/3/11 5:04 AM
Yes it worked for me. I am using CA Service Desk Manager and my previous attempts always gave me a PDA type response (minimal graphics etc.) After using the Agent switch it comes through just like firefox.  Huhrah!!!!

I created a shortcut on my panel with the following line:

/opt/google/chrome/google-chrome --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"

just copy into the properties line in Gnome to use.
Re: Built-in User agent switcher? alwalker57 3/3/11 5:15 AM
OOPS, I spoke too soon. Although the main menu displays correctly it doesn't show submenus correctly. So it's back to firefox.
Re: Built-in User agent switcher? caver_tim 3/3/11 6:50 AM
you could always ask the website why they do't support chrome?
Re: Built-in User agent switcher? Harold Wagner 3/17/11 10:07 PM
@cave_troll

It's simple. They could be lazy, inconsiderate, stupid, or just a bunch of azzholes. It's not like handicapped amenities, where you need to actually put effort into it. In fact, you're just making more work for yourself by blocking Chrome.
Re: Built-in User agent switcher? David Biesack 4/9/11 10:48 AM
Note: if this fails for you on Linux, first make sure you have closed all Chrome browsers before starting a new one. I had a Chrome running and this failed. When I closed all Chrome instances, it worked.
Do any of the options (see http://www.chromeplugins.org/tips-tricks/chrome-command-line-switches/ ) make the new instance not share with an existing instance? It would be a pain to have to close Chrome in order to visit one dumb site.
Re: Built-in User agent switcher? caver_tim 4/11/11 3:14 AM
@hg3990 i know that. the question remains. If you use Browser X to visit a website and that website says "go away! i only work with Browser A or Browser B" you're faced with two options.
1) con the website into thinking you're using Browser A 
2) as the website to stop blocking browser X


Re: Built-in User agent switcher? Harold Wagner 4/19/11 5:32 PM
@cave_troll

That's correct, but good luck getting option 2 to work. I am currently using "Chrome UA Spoofer" formerly known as "User Agent Spoofer" to fool certain web sites, like ANGEL Course Management System. It didn't work on fafsa.gov the last time I tried it, though.
Re: Built-in User agent switcher? Harold Wagner 4/19/11 5:34 PM
I am also using that IE Tab thingy (actually what I used to fill out the fafsa)  ht1 mentioned.
Re: Built-in User agent switcher? gohop 4/22/11 10:34 AM
A funny thing is that even Google inspects the user agent to determine whether to let you in.  Add "MSIE" to your user-agent string on a Linux version of Google Chrome.  Then visit mail.google.com.  The result is a message that says  you cannot use gmail unless you enable ActiveX.

The following advice is widely recognized by competent web developers:  If you want to use a feature, test for support of that *feature*, rather than inspecting the user agent and trying to guess.  This works best for Javascript and DOM features, but certainly applies to other features and plug-ins, as well.
Re: Built-in User agent switcher? Andrew.Osman 5/26/11 1:16 PM
Here's a free extension for Chrome that switches the user-agent string per site:


I've used it and it works.
Re: Built-in User agent switcher? elmariachi111 7/7/11 1:56 AM
Guys, we desperately need User-Agent switching on HTTP Headers level to test our device cap aware mobile websites. I tried the --user-agent cmdline option on Windows XP, Chrome 12.0.742 but it doesn't work at all. How to achieve that? The plugin above states that it only modifies the javascript properties, not the headers so it won't help any site that recognizes devices by their HTTP headers.
Re: Built-in User agent switcher? caver_tim 7/7/11 5:39 AM
surely you need to test using all the browsers, not get one browser to pretend to be another?
Yes you can con the webserver into thinking you're firefox, but surely you need to see if the browser displays the site properly in firefox?
Re: Built-in User agent switcher? elmariachi111 7/8/11 12:42 AM
actually it's not about desktop browsers :) Mobile websites behave differently depending on device features (there are cheaper phones than smartphones in the wild :) ) and this is what we need to test/simulate. BTW: the --useragent option works.

What we did on XP: we created a folder containing lots of shortcuts. Each of them pointed to (mind the quotes!!!)

"C:\Documents and Settings\larryp\Local Settings\Application Data\Google\Chrome\Application\chrome.exe"  --user-agent="Vodafone/1.0/BENQ-SIEMENS/EHFU1 Profile/MIDP-2.0 Configuration/CLDC-1.1"

and the Start In field should say:
"C:\Documents and Settings\lpage\Local Settings\Application Data\Google\Chrome\Application"

To "switch" Chrome's user agent you have to close *all* instances of the browser (all windows, desktop apps not tested) and click one of your shortcuts.
Re: Built-in User agent switcher? thealiks 7/17/11 8:10 AM
for some reason this worked O.o i made an app shortcut for gmail and added this to the end:

 --user-agent="Mozilla/5.0(iPad; U; iPhone OS 3_2; en-us) AppleWebKit/531.21.10 Mobile/7B314" --user-data-dir="%tmp%\gmipad"

its the ipad user agent string and i dont know if the user-data-dir bit made it work
Re: Built-in User agent switcher? robshort 8/10/11 5:43 PM
Just wanted to let y'all know that using OS X 10.7 and Chrome 13.0.782.112 still isn't supported by the US Gov't's FAFSA website (http://fafsa.ed.gov.) However, launching Chrome like this–

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Molla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"

–let me access the site and fill out my (much needed) federal aid form.

I was told by the agent in the FAFSA "Live Help" window "Your OS is too new."

Hope this helps somebody.

–Rob
Re: Built-in User agent switcher? Harold Wagner 8/13/11 6:50 AM
the government is incompetent. what else is new.
Re: Built-in User agent switcher? Sie_Deen 10/24/11 3:50 PM
Hi folks,

Thank you for all your feedback. We have been following along on this feature request and are working on it. If you would like to follow along on the progress of this feature development, please refer to Ref[1] below which describes the feature. You can click the "star" next to the issue number to receive updates about it.

In the meantime, as many of you have pointed out, there is the option to use the flag (--user-agent) or an app from the Chrome Web Store that changes the user agent string.
Re: Built-in User agent switcher? Kate Spencer 10/27/11 7:27 AM
Anyone have an updated link to the app, or know what happened to it?  I just get an error now, so I guess it's moved or gone.
Re: Built-in User agent switcher? AndKe 11/2/11 12:53 AM
looking for the same - microsoft, in it's arrogance & primary objective that is lock-in ... makes latest OWA suck with Chromium.
Re: Built-in User agent switcher? Muahahaha 11/7/11 4:33 PM
Nakro's modification to the target allowed me to load the page with which I was having issues, however it also caused pages that were previously working correctly to misbehave.  I would like to see a URL-specific switcher option as Xeros has already suggested.
Re: Built-in User agent switcher? t.chaffee 3/6/12 1:13 AM
It's been fixed.  Here's how you can change the user agent.

http://googlesystem.blogspot.com/2011/12/changing-user-agent-new-google-chrome.html
Re: Built-in User agent switcher? twighahn 5/7/12 7:31 PM
the chrome store has a switcher
Re: Built-in User agent switcher? johanguse 9/10/12 2:11 PM
More topics »