Skip navigation.

exploreopera

| Help

Sign up | Help

Conditional identification

Spotted on foxnews.com:
<!--[if IE 5]> Vignette StoryServer 5.0 Thu Jul 26 11:23:40 2007 <![endif]-->

That's a peculiar use of conditional comments!

So the server says "hi, I'm Vignette StoryServer - but *only* if you are IE5".

Yep, and I'm Hallvord, but only if your name is Wim.
p:

Opera and security disclosureFoxfix

Comments

avatar
:lol:

By AyushJ, # 26. July 2007, 17:24:50

avatar
Offensive comment removed by moderator.

By Pupitar, # 26. July 2007, 17:58:25

avatar
Lol, what are they thinking? Who is still using IE5, lol. IE5 usage is below Opera now..
http://www.w3schools.com/browsers/browsers_stats.asp
..so it's very odd that they would specify IE5, but probably don't do anything special at all for Opera which has a higher usage percentage now than IE5.

Funny find. :D

By kyleabaker, # 26. July 2007, 18:04:12

avatar
What could possibly be the reason for doing this? I'm completely baffled.

By MTKnight, # 26. July 2007, 23:02:57

avatar
Is this some attempt to force IE5 into quirks mode? I know that putting a comment before the DOCTYPE forces quirks in IE6, but I don't think that applies to 5. It'll probably try and render the text into the document too.

By johnnysaucepn, # 27. July 2007, 08:53:04

avatar
hahaha that is ridiculous!

By Wallpapers, # 11. August 2007, 23:33:51

Write a comment

You must be logged in to write a comment. if you're not a registered member, please sign up.