wafful.org — Takesako introduces how to detect browsers without any CSS nor JavaScript hack. His method make uses of known html parser bugs in existent browsers. Currently supports firefox2.0, firefox1.5, other Gecko engine, and Safari2, Safari3, Opera, ie, w3m, lynx, and others.
Oct 2, 2007 View in Crawl 4
fredclownOct 3, 2007
This is absolutely the wrong way to do web development. Exploiting browser bugs to detect browser versions is the reason we are on the mess that we are in now. The browser differences won't stop till people stop using hacks and start using standard practices to make web pages. If the browser is not meant to be used that way ... DONT!! Do it the way it is supposed to be done. It may take you a little more time, but in the end it's gonna save you more time. I learned this the hard way when IE7 came out and I had to go back and fix my pages because of the css hacks that I had used.
hotchpotchOct 4, 2007
Nice boat.
kentarokOct 4, 2007
Nice boat.
shawnzOct 4, 2007
what would you serve if the browser didn't support transparent PNGs? as said above, useless.
zoom1928Oct 4, 2007
Are you just trolling or are you that dumb?It does detect different browsers. Why would you claim it doesn't? You simply do something like: if(document.getElementById('detectImg').src == 'ie.gif') { // we're dealing with some Microsoft garbage...}
Closed AccountOct 4, 2007
wtf. this isn't browser detection. it simply tells the user what browser they use AFTER the page has been executed and parsed. In what siutation could this possibly be used?
kopaka649Oct 30, 2007
It would be cool if you could make the image filename some kind of ASCII art.
Closed AccountFeb 7, 2010
What about for the old people and idiots who don't know what a browser is?
Closed AccountFeb 7, 2010
To be used on the landing page, so that when the visitor clicks onto a different page the server already knows the browser.Also, it's just a neat proof of concept.