[chromium-discuss] When will chrome get a built-in user agent switcher?

51 views
Skip to first unread message

Mendy770

unread,
Apr 23, 2010, 3:31:48 AM4/23/10
to Chromium-discuss
I have seen this in other browsers.....it would be useful in to have
this feature in chrome.....

--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Mendy770

unread,
Apr 23, 2010, 3:40:12 AM4/23/10
to Chromium-discuss
There already is a way to change the user agent (by adding in under
"properties" in the icon, ".......chrome.exe --user-agent="
"whatever user agent sting u want") but a built in feature in chrome
would make this much easier........

Alexander Skwar

unread,
Apr 23, 2010, 3:44:28 AM4/23/10
to mend...@gmail.com, Chromium-discuss
BTW: This works on Linux and OS X as well.

But it's "too much" - it changes the UA for the
complete browser, and not just for a Tab. There's
then also no easy way to revert to the original
UA (other than writing down the UA you've got
originally and then running --user-agent=... again,
of course).

Alexander

2010/4/23 Mendy770 <mend...@gmail.com>



--
Alexander
--
↯    Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/     ↯
↯ Chat (Jabber/Google Talk) ↣ a.s...@gmail.com , AIM: alexws77  ↯

PhistucK

unread,
Apr 23, 2010, 5:11:02 AM4/23/10
to a.s...@gmail.com, mend...@gmail.com, Chromium-discuss
What?
To revert to the original user agent string, just remove the switch.

☆PhistucK

Alexander Skwar

unread,
Apr 23, 2010, 5:18:39 AM4/23/10
to PhistucK, mend...@gmail.com, Chromium-discuss
Can't be done. Or at least, I don't see how.

Scenario:
You've got chrome running.
Now you want to switch, so you run eg
  google-chrome --user-agent=FooBar/42
Result: In the running session, a new window
opens and eg. http://daa.li/ua or simply about:version
show the FooBar/42 UA.

How do you now easily revert to the old, original
UA? Without closing Chrome, of course ('coz
I asked for *easily* :]).

Solution: Run
  google-chrome --user-agent=$OriginalUA

Just running "google-chrome" doesn't work.

2010/4/23 PhistucK <phis...@gmail.com>

PhistucK

unread,
Apr 23, 2010, 5:29:57 AM4/23/10
to Alexander Skwar, mend...@gmail.com, Chromium-discuss
Actually, running another Chrome with a different user agent string while Chrome is already running should not result in an instance with a different user agent string. Instead, it should just open a new window\tab with the same user agent string of the already running Chrome.
Are you sure that this is actually happening?

The easy thing to do (or something), is to create another profile (make a shortcut for it) and just use it whenever you want the original user agent string (or the other way around - when you want a specific user agent string).
google-chrome --user-data-dir="PATH"

That way, you could create two (or more) instances of Chrome, with two (or more) different user agent strings.

☆PhistucK

Alexander Skwar

unread,
Apr 23, 2010, 5:34:44 AM4/23/10
to PhistucK, mend...@gmail.com, Chromium-discuss
Of course I'm sure, that it is happening. It's (sorta)
insulting to assume, that I hadn't tested it, before
I posted *G* Why don't you just try it yourself?

What I said can be observed with 5.0.375.3 (Offizieller Build 44229)
on Linux.

2010/4/23 PhistucK <phis...@gmail.com>

PhistucK

unread,
Apr 23, 2010, 5:57:49 AM4/23/10
to Alexander Skwar, mend...@gmail.com, Chromium-discuss
I cannot try that myself on Linux, because I am a Windows user with no access to Linux machines.

I was not assuming anything. I simply know that this is the intended behavior and it sounds weird that this behavior is not cross platform.

Filed an issue on it -

☆PhistucK
Reply all
Reply to author
Forward
0 new messages