News for hackers. Stuff that matters.
Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by zalew on Monday March 25, 2013 @11:45AM (#5437616)
> Microsoft also included the command "Like Gecko" which instructs the website to send back the same version of the website as they would to Firefox

seriously, who does that? 'msie5.0 mozilla', good times. 'like gecko' => msie trying to look like webkit, who tries to look like firefox. yeah, makes perfect sense. could anyone give an example of a modern application that checks against the user agent string?

Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by rplnt on Monday March 25, 2013 @12:19PM (#5437829)
> could anyone give an example of a modern application that checks against the user agent string?

Gmail. Google docs, every single page titled something demo, ... basically every other site. And it should die already. Browser vendors put up with it because there are thousands and thousands of sites that wouldn't work just because you have the wrong user-agent string and the web developer was incompetent. Great examples include Chrome's idiotic string[1] and Opera's version 9.80[2].

1. Discussed around.

2. http://dev.opera.com/articles/view/opera-ua-string-changes/

Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by danielnr on Monday March 25, 2013 @11:57AM (#5437694)
I haven't seen web servers send back different pages for non-Mozilla browsers since Mozilla browsers were selectively served frames[0], which is why most User-Agent strings contain "Mozilla". Despite whether this is a good idea or not, it's nostalgically entertaining to see history repeat itself like this.

[0] http://webaim.org/blog/user-agent-string-history/

Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by Banduin on Monday March 25, 2013 @11:47AM (#5437626)
Chrome?

> Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.40 Safari/537.31

Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by Zirro on Monday March 25, 2013 @11:56AM (#5437685)
For those who wonder how we ended up with such a mess of a user-agent string, this one is a classic: http://webaim.org/blog/user-agent-string-history
Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by talmand on Monday March 25, 2013 @11:53AM (#5437660)
I'm thinking he meant more in terms of who builds a website that respects the "like Gecko" in the UA string as UA sniffing has been considered a sub par method for a while now.

I agree with "who does that" because I've never done UA sniffing so I had to look up the term "like Gecko" to even understand the context. As someone else has pointed out, that's for browsers that are not using the Gecko rendering engine. So essentially, everyone is trying to be "like Gecko" in one way or another.

Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by zalew on Monday March 25, 2013 @11:49AM (#5437640)
I meant 'who does check that user agent', edited to clarify.
Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by daleharvey on Monday March 25, 2013 @11:54AM (#5437669)
A lot of people, on Firefox OS we have a blacklist of sites we have to send Android like user agents to so we are served mobile friendly content: https://github.com/mozilla-b2g/gaia/blob/master/build/ua-ove...

Its a sad situation.

Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by jgraham on Monday March 25, 2013 @12:04PM (#5437735)
Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by TazeTSchnitzel on Monday March 25, 2013 @12:53PM (#5438032)
YouTube is a particularly bad offender. Linked to their mobile site on a desktop? You get the ultra-basic WAP-like version, instead of the smartphone version or a redirect to the desktop version. Linked to their mobile site in Opera Mini? Yep, WAP-like version, despite the fact that Opera Mini would have no problems with the smartphone version.
Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by Wilya on Monday March 25, 2013 @12:38PM (#5437943)
Last I checked, Google+ had an User-Agent whitelist. Anything not in the list would get a "Your browser is too old, please upgrade" page.
Re:Testers Say IE11 Includes 'Like Gecko' in User Agent String by croddin on Monday March 25, 2013 @12:11PM (#5437782)
> example of a modern application that checks against the user agent string?

I don't think this is aimed at fixing modern applications. It is aimed at much older ie 6-8 era code still on the web that has a bunch of hacks.