Obfuscated HTML Contest?
ptaff asks: "We all know the nightmare of typical HTML developer: you get different results on different browsers/platforms (and we're talking HTML only, no CSS/scripts). To make matters worse, MSIE has this ability to render completely invalid HTML code (missing tags, invalid nesting, you get the point). Mozilla and its many cousins are trying hard to keep up with the inconsistencies of today's 'web-optimized-for-MSIE', but where is the limit?
As an exercise, can you build the most malformed HTML document that can be rendered in MSIE but will choke on others browsers?"
Uroulette.
Stumbling in the dark
I hear slavering of jaws
Eaten by a grue.
View source. Go ahead. Right now.
I dare you to glance through it.
You'll not sleep tonight.
Great idea! Or invalid, but different.
I mean, the winner of the original contest's question is already decided anyway: I'm sure nobody's as good as Microsoft in writing obfuscated code that runs only on their own platforms!
That's totally obfuscated......
Old Style:
<APPLET code=XYZApp.class codebase=html/ align=baseline width=200 height=200> <PARAM NAME=model VALUE=models/HyaluronicAcid.xyz> No Java 2 SDK, Standard Edition v 1.3 support for APPLET!! </APPLET>New Style:
<EMBED type=application/x-java-applet;version=1.3 width=200 height=200 align=baseline code=XYZApp.class codebase=html/ model=models/HyaluronicAcid.xyz pluginspage=http://java.sun.com/products/plugin/1Step 2: save as a web page.
The result:
Of course, it breaks the rules because it uses style sheets, but who's counting...--- Jason Olshefsky
Karma: Poser (mostly affected by adding this line long after everyone else did)
Here is a classic.
It just looks dumb in Mozilla, but you can use IE to truly experience the horror.
I believe this was originally designed as an object lesson that HTML email and usenet posts are a bad idea.
There is no author identified, but I'd love to know who came up with this one.