Discover the best of the web!
Learn more about Digg by taking the tour.
CRASH IE6 with one line of code.
immike.net — As the title says, a single line of code can crash IE6.
- 2740 diggs
- digg it
- roastedbagel, on 10/10/2007, -15/+611I don't need a line of code to crash IE6...
I'll just switch over to it and use it for a few minutes.- kylesellers, on 10/10/2007, -14/+95I don't ever run IE6, but I'm sure the icon is sitting there in my start menu crashing itself over and over again just for the hell of it.
- Terc, on 10/10/2007, -2/+7Perhaps you should update to IE7, yes, even if you don't use it. Thanks to Microsoft's response to the browser monopoly battle back in the lat 90's the security of windows is very easily affected by browser exploits.
- rejoined, on 10/10/2007, -7/+13Well, apparently it crashed the site too.
- shiftt, on 10/10/2007, -2/+37Or just go here: http://www.crashie.com
- fkr3, on 10/10/2007, -21/+3lol, from that page:
Why doesn't it work for IE 7?
There aren't any known exploits in IE 7 that will cause it to crash (..at least not yet)- EvolvedAnt, on 10/10/2007, -1/+3It works in IE 7, just resize the page once you are there. Or minimize/maximize.
- fkr3, on 10/10/2007, -21/+3lol, from that page:
- pantysniffer, on 10/10/2007, -25/+3nobody uses ie6 anyway
- shiftt, on 10/10/2007, -1/+31You'd be surprised.
- Reziarfg, on 10/10/2007, -0/+27As a computer tech in the industry...You'd be VERY surprised. I would say 9/10 at least have no noticeable links for anything but IE 6 on their desktop/startmenu/quick launcher.
- theone3, on 10/10/2007, -0/+4As a webmaster - recently I've been getting around 10-15% firefox, 40-50% IE7, 30-40% IE6 (rest are bots, etc) - businesses aren't stupid enough to keep using old versions of IE for that long - and my stats are from a highly business focussed website.
- vypergts, on 10/10/2007, -0/+1I second that. Our traffic logs show roughly 45% (the majority) of visitors running IE6, followed by IE7, followed by Firefox with similar percentages. Of course, most of our customers are actually still using AOL believe it or not.
- theone3, on 10/10/2007, -0/+4As a webmaster - recently I've been getting around 10-15% firefox, 40-50% IE7, 30-40% IE6 (rest are bots, etc) - businesses aren't stupid enough to keep using old versions of IE for that long - and my stats are from a highly business focussed website.
- Rileyper, on 10/10/2007, -4/+5How the hell would you update your computer, unless you have vista then you dont need ie at all
- 0xbadfood, on 10/10/2007, -2/+7"How the hell would you update your computer"
http://www.getfirefox.com- haveacigar, on 10/10/2007, -6/+1Slightly difficult if you dont have a web browser to start with...
- 0xbadfood, on 10/10/2007, -2/+7"How the hell would you update your computer"
- andyduncan, on 10/10/2007, -0/+19We run a medium sized public-facing site with a broad demographic. Our current metrics show 51% IE6 and 48% IE7 with a couple 5.5 and 5.0 stragglers. IE 7 has been creeping up but it hasn't, for us, taken over IE 6 yet. Unfortunately IE6 will be with us for at least another year or three.
Although maybe if I put this code into our site that will solve our IE6 infestation...
- MatttK, on 10/10/2007, -20/+6Seriously, it's 2007. Why is this getting diggs? Why is this comment getting diggs? Why does anyone care? It's like whining that Windows 98 has bugs. Move on. Complain about IE7's bugs now (though, I can't remember the last time IE7 crashed for me but I can tell you Firefox crashed within the last few months, so to each his own).
- kevyn, on 10/10/2007, -10/+3it is 2007... well spotted.... because it hightlights the lameness of IE6 and MS.... your comment isnt getting diggs.... we don't care that much... in fact, just shut up
- doctechnical, on 10/10/2007, -1/+4I built a browser, and it crashed. So I built another - and it crashed. I built a new one, it caught fire and then crashed. But this one stayed up!
Seriously, if IE5 is a POS, and IE6 is a POS, why would I bother with IE7? - Goobersmooch, on 10/10/2007, -0/+2its pretty simple. This is getting diggs because IE6 still commands a sizeable portion of the used web browsers and this is evidence of why people should change. Do you have any idea how PR works?
- iziizi, on 10/10/2007, -0/+6except for 40% of internet users -http://www.w3schools.com/browsers/browsers_stats.asp
- newyawker, on 10/10/2007, -3/+1You're IE6 crashes in a few minutes? You're doing it wrong.
- kylesellers, on 10/10/2007, -14/+95I don't ever run IE6, but I'm sure the icon is sitting there in my start menu crashing itself over and over again just for the hell of it.
- crackah, on 10/10/2007, -55/+167Thats why there is ie7......
- mmalone, on 10/10/2007, -12/+32Apparently it's causing problems for some people in IE7, too.
- gregharmon, on 10/10/2007, -5/+22IE 7 renders it fine, for me.
- crazihouse, on 10/10/2007, -15/+2Same here. Not that I actually use IE to begin with. I had to start it using Run.
- crazihouse, on 10/10/2007, -0/+0Looks like we have some MS fanboys here?
- thailand1972, on 10/10/2007, -2/+4Yeah, I think it happens when IE7 users maximise the window
- kylesellers, on 10/10/2007, -12/+131Thats why there is Firefox......
- fkr3, on 10/10/2007, -59/+14Firefox crashes more than anything I've ever seen or even heard of. Windows ME was more stable than it.
- remccain, on 10/10/2007, -6/+23You're high on needle drugs.
- andyduncan, on 10/10/2007, -4/+28Uninstall your dorky firefox extensions and try again. A virgin install of Firefox is actually very very stable.
- fkr3, on 10/10/2007, -11/+7Oh yes, extensions, the #1 reason to both use and be unable to use Firefox!!
- bagboyrebel, on 10/10/2007, -1/+7@fkr3
no, bad extensions or having too many extensions are what make it unusable - gfnw, on 10/10/2007, -2/+7If you aren't going to use extensions, then why use Firefox at all? May as well use Opera.
- rebopper, on 10/10/2007, -0/+4@fkr3
You suck.
- HigherLogic, on 10/10/2007, -19/+15And that's why there is Opera...
- KibibyteBrain, on 10/10/2007, -7/+5...if you are one of the hot scandinavian girls with the knit hats on their homepages. Otherwise, Opera is pretty much the best product ever to cater to no real audience, as its not bundled with any OS, and doesn't do extensions.
- theone3, on 10/10/2007, -0/+9It's bundled with Wii. =)
- gfnw, on 10/10/2007, -1/+5Opera caters to the audience that wants a non-IE browser, but doesn't care about Firefox extensions. Extensions are the number one reason to use firefox over any other "alternative" browser. For those who don't need extensions, then Opera is a better choice than a vanilla Firefox.
- TheSmiddy, on 10/10/2007, -1/+4yeah it does, they're called widgets.
not that you need them since any decent firefox extension is already a default feature of opera
- 9a3eedi, on 10/10/2007, -5/+6And that's why there's Konqueror...
- KibibyteBrain, on 10/10/2007, -7/+5...if you are one of the hot scandinavian girls with the knit hats on their homepages. Otherwise, Opera is pretty much the best product ever to cater to no real audience, as its not bundled with any OS, and doesn't do extensions.
- GliTCH82, on 10/10/2007, -4/+14Ok, maybe FireFox is more stable, but god damn if FireFox doesn't have its own share of problems. Talk about the whole ***** UI sticking while loading long comment pages. Hello? This is 2007. Can we get a proper multithreaded application here? Friends don't let friends use JAVA, assholes.
- fkr3, on 10/10/2007, -59/+14Firefox crashes more than anything I've ever seen or even heard of. Windows ME was more stable than it.
- mishsquish, on 10/10/2007, -6/+109Breaking news: "Crash IE7 with two lines of code."
- Audacitor, on 10/10/2007, -5/+18I find it not at all comforting that we need a whole new version of IE to get past this little bug.
- Jugalator, on 10/10/2007, -2/+8It's not uncommon for major browser releases to fix many minor bugs. It happens not only with IE, but with Firefox, Opera and Safari too.
- KibibyteBrain, on 10/10/2007, -6/+4And thats why there is elinks!
- neeyo, on 10/10/2007, -9/+1hmmm.... sucks if you're using IE6 right now...
*{position:relative}- nehalp100, on 10/10/2007, -0/+3you just typed *{position:relative} but theres not html code in digg coments hahahaha
- SteelyDuran, on 10/10/2007, -0/+9And that's why there's telnetting to port 80!
- SteveMax, on 10/10/2007, -0/+2Telnet? Telnet you say?!
Real man don't use those fancy tools. Real man build and read their TCP packets by hand, and send and receive them without using the OS's TCP stack!
Lazy kids.
- SteveMax, on 10/10/2007, -0/+2Telnet? Telnet you say?!
- neeyo, on 10/10/2007, -9/+1hmmm.... sucks if you're using IE6 right now...
- Stefanoz72, on 10/10/2007, -2/+6Yes, but you've to install the infamous WGA for that.
And I'm never going to sign a EULA that states (roughly translated):
....
"Microsoft uses collected information to:
- prevent usage of unlicensed software.
...
- Microsoft could share collected information with 3rd party hardware and software producers.
- This privacy notice could occasionally change without advice
...
Well I'm never going to sign what seems to be a contract in blank with microsoft, and I wonder why people do.
Trash the WGA and switch to Firefox!! (And possibly to a whole new OS) :)- KataLieb, on 10/10/2007, -3/+2And thrash the whole Windows while your at it...Youll be a lot better off, security and privacy - wise...
Windows Vista - Built in Co-Operation with the NSA - Wiretapping your Personal Computer to protect you from Pirates, Ninjas and Terrorists! - gfnw, on 10/10/2007, -1/+1You are so important that Microsoft actually care about what you do! They have teams of people working overtime sifting through logs just for the things you are doing on your computer, it's that important to them!
- Stefanoz72, on 10/10/2007, -0/+2So if they don't care, why are they plainly *asking* me to collect information about what programs I use along with permission to block these programs if they think they're unlicensed?
Moreover I don't agree with terms which clearly state something like "we can change the terms later, without your agreement". Why should I?
Have you ever signed a contract that gives the other part the right to later change the contract itself?!
that's ridiculous and should be illegal too.
- Stefanoz72, on 10/10/2007, -0/+2So if they don't care, why are they plainly *asking* me to collect information about what programs I use along with permission to block these programs if they think they're unlicensed?
- Izzie, on 10/10/2007, -0/+2if you had read MS windows EULA, you'd know that windows EULA it is even worse
- KataLieb, on 10/10/2007, -3/+2And thrash the whole Windows while your at it...Youll be a lot better off, security and privacy - wise...
- mmalone, on 10/10/2007, -12/+32Apparently it's causing problems for some people in IE7, too.
- benitojuarez, on 10/10/2007, -7/+40Its kind of odd in IE7. The first time, IE closed by itself after about 5 seconds like I hit the X. The second time, IE closed with an error after about 20 seconds, the 3rd time I waited 30 seconds, went to the batthrom, came back and nothing had happened.
- benitojuarez, on 10/10/2007, -3/+7The error is AppName: iexplore.exe AppVer: 7.0.6000.16441 ModName: mshtml.dll ModVer: 7.0.6000.16441 Offset: 0002b4d1 It only seems to crash if i open it in a tab. If i open it in a normal window IE6 style with no tabs it does nothing.
- jaymac8, on 10/10/2007, -6/+3Why don't you try disabling some 3rd party activex controls. Quite a few toolbars/addons need to be updated or are incompatible with ie7.
- benitojuarez, on 10/10/2007, -0/+2I dont use toolbars. Thats just inviting spyware and adware to live on your machine.
- jaymac8, on 10/10/2007, -6/+3Why don't you try disabling some 3rd party activex controls. Quite a few toolbars/addons need to be updated or are incompatible with ie7.
- xenuxenuts, on 10/10/2007, -1/+61Man, you missed out. On the 4th time, dollar bills fly out your monitor.
- GliTCH82, on 10/10/2007, -2/+1I'm rich, bitch! *honk honk*
- noch, on 10/10/2007, -2/+2you win this thread
- z3rgRush, on 10/10/2007, -0/+13Microsoft uses BORG technology. Your browser's shields are adapting to the environment.
- FeargusMcDuff, on 10/10/2007, -0/+5We are Microsoft....Resistance is futile....
- SteveMax, on 10/10/2007, -0/+1http://bayimg.com/LAfoDAAbf
- ThankTheCheese, on 10/10/2007, -0/+16so...the workaround is to go the bathroom?
- theone3, on 10/10/2007, -0/+5Try going to the kitchen instead - that worked for me.
- gfnw, on 10/10/2007, -0/+7I believe there may be a correlation with whether or not you washed you hands.
- paintballpc, on 10/10/2007, -3/+1that's a pebkac error
- benitojuarez, on 10/10/2007, -0/+1You're a pebkac, and a pebcock.
- noamsml, on 10/10/2007, -0/+3You mean in general, or with that specific page?
- benitojuarez, on 10/10/2007, -0/+1with the specific error page.
- benitojuarez, on 10/10/2007, -3/+7The error is AppName: iexplore.exe AppVer: 7.0.6000.16441 ModName: mshtml.dll ModVer: 7.0.6000.16441 Offset: 0002b4d1 It only seems to crash if i open it in a tab. If i open it in a normal window IE6 style with no tabs it does nothing.
- plucas, on 10/10/2007, -6/+170I thought this is what always happens when you try to use CSS with IE?
- KingBabi, on 11/13/2007, -0/+2I have the best idea for getting someone to switch to Firefox:
Them: Why should I switch to Firefox?
You: http://immike.net/scripts/ie_crash.html
You: That's why.
(Sorry for replying to this message as opposed to another, but the new comment system breaks my browser and I can only reply to first-level comments)
- KingBabi, on 11/13/2007, -0/+2I have the best idea for getting someone to switch to Firefox:
- wiifm69, on 10/10/2007, -19/+292All websites should have this at the top of the page. ***** you ie
- quikboy, on 11/13/2007, -25/+7Since when has crashing people's browser a considerable thing to put up everywhere and joke about?
You might not like IE, but there are people out there vulnerable to this. The fact that IE7 doesn't support older systems, or lack of knowledge of other browsers stable on their systems, keeps these people vulnerable to attacks like this. But I guess there are jerks out there who think it's so funny, and IE or Microsoft is a joke, and whatnot. Seriously, that's so sad. I hear a lot of anti-MS jokes on Digg - but I fail to see the humor at all in this.
I guess it must be fun ruining other people's lives out there. I'm not feeling it.- ContinuumXLS, on 11/13/2007, -5/+20Ruining someones life by crashing their browser? ..seems kinda over exaggerated to me..
- bkemper, on 10/10/2007, -2/+8What would be under exaggerated? Is there a level of exaggeration that is just right?
- ContinuumXLS, on 10/10/2007, -0/+1Touché
- Stonekeeper, on 11/13/2007, -1/+15OH NOES! TEH BRWSR CRASHD!!! LAIF NAW ROOIND!!!!
- mithrasinvictus, on 10/10/2007, -4/+1This trick is so old. MS should have been able to fix it by now.
It might help make people more aware of how vulnerable they are to years old unpatched bugs, - Stefanoz72, on 11/13/2007, -4/+6Buried for lack of any sense of humour
- ContinuumXLS, on 11/13/2007, -5/+20Ruining someones life by crashing their browser? ..seems kinda over exaggerated to me..
- christoscamaro, on 11/13/2007, -26/+4Why doesn't Firefox do things like IE?
IE 6/7 will jump back to the exact spot i was last on... on a website...when I hit the 'back' button, even if it was 20 'pages' long. Firefox still doesn't DO THIS SINGLE SIMPLE THING!
***** IE when they don't have a place for us 1920x1400 peeps to simply click a button to view the postage stamp sized photos and 'font=1 css" ***** ***** that's ***** on all my internet *****.
Pro tip: css font size = .0000001 sure as ***** doesn't get my support, because I CAN'T READ THAT *****, you FORCE ME TO USE IE7 to even read it! (FF is set to bigger font size... does CSS support this? nothing that's ever hit digg.... I gotta use IE7 to read it all)
No wonder I still use IE almost as often as Firefox. Both browsers suck. I miss Netscape gold 3.0. That ***** Firefox up their collective Mozilla asses in awesomeness. IE and Firefox can go ***** themselves. Both browsers suck, I know, because I have to use BOTH.
digg me down bitches, Netscape gold 3.0 was full of win. (gold had a ***** wysisyg html editor, also, IE was version... 2 or something back in 1998)- KibibyteBrain, on 10/10/2007, -1/+4ctrl+'=' FTW! or command + for those of us who prefer sipping expresso in Cuppertino over skiing Redmond. And there are several dozen extensions that help you resize photos, or you could just write a simple greasemonkey script.
Oh, and while we're admiring outdated useless old web browsers, NetPositive FTW! RIP BeOS. - seventoes, on 10/10/2007, -1/+9Firefox does jump down to where you were when you hit the back button. You can resize text in firefox. (ctrl+middle mouse button, windows, or command-+ mac)
What were your arguments again? - Bamborzled, on 11/13/2007, -2/+11"IE 6/7 will jump back to the exact spot i was last on... on a website...when I hit the 'back' button, even if it was 20 'pages' long. Firefox still doesn't DO THIS SINGLE SIMPLE THING!"
Does it for me in Firefox. Dunno what your problem is.
"Netscape gold 3.0 was full of win." What? Are you serious? By the way, Mozilla is based on Netscape source code.
- KibibyteBrain, on 10/10/2007, -1/+4ctrl+'=' FTW! or command + for those of us who prefer sipping expresso in Cuppertino over skiing Redmond. And there are several dozen extensions that help you resize photos, or you could just write a simple greasemonkey script.
- quikboy, on 11/13/2007, -25/+7Since when has crashing people's browser a considerable thing to put up everywhere and joke about?
- TheRealToma, on 10/10/2007, -20/+7Lets see how long it takes for MS to release a patch for it... will they get under 10 days to spite Mozilla? Doubtful :D
- sexybobo, on 10/10/2007, -2/+22This code is at least a year old.
- BrandonMills, on 10/10/2007, -7/+208Awesome :) Now I can force users to NOT use IE on my website ;)
- kylesellers, on 10/10/2007, -8/+90That'll really boost your traffic...
- DefaultGen, on 10/10/2007, -6/+5What good do IE6 users bring to the internets
- Jugalator, on 10/10/2007, -2/+10Web site visits? But of course, that doesn't really matter to a web site, now does it?
- DefaultGen, on 10/10/2007, -6/+5What good do IE6 users bring to the internets
- Trocisp, on 10/10/2007, -10/+6Why would anyone who runs a site put this in their site?
Think about it, all it does is remove a large portion of your potential user-base. Better put a footnote with "Switch to a Better Browser, Firefox for a better viewing experience" and a link to getfirefox.com at the bottom.- voetsjoeba, on 10/10/2007, -0/+7Better to prevent a lot of whine from people who don't know how to use a decent browser saying "your site doesn't work", and nothing more than that. All they ever tell you is "it doesn't work". Yes, I'm frustrated.
- Firehed, on 10/10/2007, -0/+7People who haven't switched by now probably aren't the type that would (unless it's done for them). You have to work with the lowest common denominator here - "free browser security test" and a GoogleFox affiliate button.
- Kyouto, on 10/10/2007, -2/+4How would they even see the link for "Swich to a better browser" if their browser crashes whenever the page is open?
- Jugalator, on 10/10/2007, -0/+2He was suggesting to use that instead of the crasher thing, not in addition to it.
- mithrasinvictus, on 10/10/2007, -1/+2i've been using it for years on pages that can only be reached through hacking attempts. Just a little extra feature : )
- zongamin, on 10/10/2007, -4/+2Like anyone gives a *****?
- Stefanoz72, on 10/10/2007, -0/+7That's pointless, because they'll think it's your site's fault and not IE's...
- numberwang, on 10/10/2007, -0/+3And to an extent, it is, if the webmaster intentionally puts that code on their website, effectively alienating around 40% of their visitors.
- noch, on 10/10/2007, -0/+3or they can just use ie 7 . . . .
- kylesellers, on 10/10/2007, -8/+90That'll really boost your traffic...
- MavRevMatt, on 10/10/2007, -6/+68You need code?
- NeoRebellion, on 10/10/2007, -9/+131Turns out it wasn't that particular line of code. IE 6 just crashes every 5 seconds regardless of what code it reads.
- Vandel405, on 11/13/2007, -18/+2You can crash pretty much anything with one line of code. How about this one.
*((void *)0x1) = 7;- eTronicGaming, on 10/10/2007, -1/+19That doesn't work.
- MavRevMatt, on 10/10/2007, -11/+4Confirmed by the Windoze user.
- jejones, on 11/13/2007, -1/+6Incredibly bogus analogy. That's code intentionally written to cause an access violation; it's syntactically valid C, and C is advertised as being willing to let you do stupid things, so it will compile and promptly die when run.
The HTML, OTOH, as far as I know is valid, and a browser is supposed to display valid HTML in accordance with standards (and not barf even on invalid HTML). That IE 6 pukes on it shows a very basic lack of understanding of HTML... and above, there was a report that IE 7 barfs on it if you open it in a tab.- Stefanoz72, on 10/10/2007, -0/+1You forgot that Microsoft doesn't give a ***** about standards...
- Vandel405, on 10/10/2007, -0/+1I was just trying to say the title was lame and that you can crash many things with one line of code. Obviously its a different problem if you can crash IE with just one line of 'input data'
- Tippis, on 10/10/2007, -0/+1Bah... all you need is assembler and HCF... ;P
- eTronicGaming, on 10/10/2007, -1/+19That doesn't work.
- dugh, on 10/10/2007, -3/+12http://immike.net.nyud.net:8080/blog/2007/08/06/single-line-of-html-crashes-ie-6/
- NeoRebellion, on 10/10/2007, -34/+10It'd be funny if it turned out to be the next 09-F9-11-02-9D-74-E3-5B-D8-41-56-C5-63-56-88-C0
- Onibus, on 10/10/2007, -4/+53Divide by zero.
- maximize, on 10/10/2007, -6/+12wow his server must suck balls
- greatking, on 10/10/2007, -0/+19I recall a bsod with one line of code
http://digg.com/programming/Internet_Explorer_Exploit- thealliedhacker, on 10/10/2007, -0/+5On Windows 98 I remember an exploit where sending to file://con/con would bluescreen
- tubeblender, on 10/10/2007, -25/+9People still use that browser? hahahahahahahahahahahahahahahahahahahahaha hahahahahahaha
- heyitsgarrett, on 10/10/2007, -1/+21Looks like he took a bit of a breath towards the end there to regroup.
- shinynew, on 10/10/2007, -2/+2Thats nothing, this one time i had to step away from the mic to breath.
- HigherLogic, on 10/10/2007, -6/+4More people use that browser than they do Firefox, so I wouldn't be laughing too hard fanboy...
- shinynew, on 10/10/2007, -1/+4apparently he would be.
- jejones, on 10/10/2007, -1/+1Just checked Google Analytics for my blog--of those visiting and using IE, over half are using IE 6; just under half are using IE 7. Exactly one each are using 5.5 and 4.01. So yes, people are still using that browser.
- heyitsgarrett, on 10/10/2007, -1/+21Looks like he took a bit of a breath towards the end there to regroup.
- Landus, on 10/10/2007, -11/+0I was just about to digg this.
- mukund, on 10/10/2007, -12/+3thats an old one. get a life. :)
- getrealnow, on 10/10/2007, -0/+6your telling us to get a life, when apparently its old and you know about it before anyone of us?
- andyh2, on 11/13/2007, -6/+4That site's down for me.
- erinspice, on 10/10/2007, -10/+4Since when is this news?
- Audacitor, on 10/10/2007, -1/+4You must be new. Although Digg is labeled a social news site, it also attracts some stuff that people just generally find cool.
Most of us like it that way, you know.- mithrasinvictus, on 10/10/2007, -1/+2it WAS cool news years ago when i first heard about it and IE 6 was the current MS browser. Now its just olds.
- Audacitor, on 10/10/2007, -1/+4You must be new. Although Digg is labeled a social news site, it also attracts some stuff that people just generally find cool.
- disc0x, on 10/10/2007, -7/+2The code on the site is
http://pastebin.ca/648253 - sheepster, on 11/13/2007, -1/+30for those of you who missed it...and are to lazy/tired to wait for coral to load:
< style>*{position:relative}< /style>< table>< input>< /table> - minus the spaces of course.
here is the link to test it: http://immike.net.nyud.net:8080/scripts/ie_crash.html - shiftt, on 10/10/2007, -3/+33Or just go here: http://www.crashie.com/
- DrShotgun, on 10/10/2007, -2/+17Crash any site with one story on digg.
- shawnz, on 10/10/2007, -8/+132 comments and nobody has pasted the code yet?
- Archeologist, on 10/10/2007, -5/+1Well, just going to 3721[dot]com gets IE hijacked and turned unusable. I eventually fixed it after a few months, but it's still unusable. It wasn't a very big loss for me... ;)
- limezor2, on 10/10/2007, -0/+2for(x in document.write){document.write(x);}
- swrlyhrly, on 10/10/2007, -8/+9confirmed on ie7. how retarded
- PicklePower, on 10/10/2007, -0/+12So does anyone want to explain why/how this code does what it does?
- shiftt, on 10/10/2007, -3/+9It's essentially nothing more than an infinite loop.
- andyduncan, on 10/10/2007, -0/+12IE's positioning support is buggy as hell, it's not surprising that there's a crasher in it. It's unclear from the code if it is, as shiftt says, throwing IE6 into an infinite loop or not. Some people have mentioned regex parsing but in this situation the "*" isn't parsed as regex, though it means something similar to what "*" would mean in regex. Basically it says "everything gets position of relative". Not sure how/why the input inside a table is triggering the problem, but IE6's table handling is pretty buggy too.
- Nogger, on 10/10/2007, -2/+1This line is completely invalid HTML.
Some necessary tags like "html", "head" and "body". "input" may not be a direct child of "table".
"style" may only appear in "head".
Therefore, IE goes into error correction mode to be able to render anything from this mess. There is one source of error. Setting any element to a relative position should not do anything bad, it just establishes a new positioning context on each element.
So the crash seems to be the result of the error correction in combination with the positioning that triggers a bug.
- TubaTechno, on 10/10/2007, -3/+15for some reason, the 1 line of code to crash FireFox wasn't posted......wierd.
- damnitdaniel, on 10/10/2007, -2/+17Seriously, how hard is it to spell check a post?!
Firefox even underlines misspelled words! - dacheetah, on 10/10/2007, -7/+2This line CAN crash firefox... If you have the extension that allows to to switch a tab's rendering engine to MSIE. (Which is useful for checking how badly MSIE is stuffing up your nice clean code when writing your HTML.)
Of course it's still MSIE's fault. - donkeySays, on 10/10/2007, -5/+0Paste this on the address bar: while(true) { alert('Bahahahaha!'); }
Mayb work on IE too.- rd3k, on 10/10/2007, -0/+2Didn't work on FF or IE for me
- drgmdp, on 10/10/2007, -0/+3it shows me a google search for that line
- rd3k, on 10/10/2007, -0/+1Tried adding script tags but had no effect
- M4v3R, on 10/10/2007, -0/+3javascript:while(true) { alert ( 'Buahahaha!'); }
This one works.- KniteWulf, on 10/10/2007, -0/+1Bastard. I managed to get the tab closed but I still have the damn alert.
- damnitdaniel, on 10/10/2007, -2/+17Seriously, how hard is it to spell check a post?!
- RoyHobbs, on 10/10/2007, -9/+1who gives a ***** about IE 6 problems...there is something called IE 7 that this doesn't affect. btw I use Firefox.
- shiftt, on 10/10/2007, -2/+6Unfortunately IE7 still has a lot of problems. While it may be adequate for most users, there are plenty of problems for the web developers.
- Reziarfg, on 10/10/2007, -0/+5You know you're right. It's like people going. "One line of code to crash Firefox 1.0!" And then say that you should get Internet Explorer 7 because it's more secure. Which might very well be true. Of course that's not to say there's one line of code that can crash Firefox 1.0, I'm not sure how resilient it is to things like that.
- ebertek, on 10/10/2007, -2/+0It DOES affect that 'something called IE 7', just try maximizing the window..
- Icanndiggit, on 10/10/2007, -5/+4Cool it works. This is why you should have more respect for the Internet and use Firefox.
- Reziarfg, on 10/10/2007, -5/+4Or, have more respect for the internet and use a more standards compliant browser than either of those, Opera :P
(Alright, alright, OR Safari, for you Mac fanboys.
http://www.webstandards.org/2006/07/20/acid2-and-opera-9-clarifications/- Bamborzled, on 10/10/2007, -1/+8Firefox 3 passes the Acid2 test (and has done it for a while), so ha!
- belman420, on 10/10/2007, -0/+0Yes, because Safari and Opera are COMPLETELY AWESOME WITH JAVASCRIPT.
Sometimes having a tolerant browser is better than a standards-compliant one. Drives great as long as you're on the left side of the road! Why aren't you guys in the U.S. all driving this car on the left side of the road? Don't you have any respect for highway standards?
- Reziarfg, on 10/10/2007, -5/+4Or, have more respect for the internet and use a more standards compliant browser than either of those, Opera :P
- rhylan, on 11/13/2007, -2/+26How many times do i have to tell people? Its a feature!
- pingviini, on 10/10/2007, -15/+4I think that this site does the same thing
http://med-op-usa.com/huge4.jpg
But if you ask me, my favorite is
(DO NOT CLICK)
http://*****.on.nimp.org
(DO NOT CLICK)
Don't go to either of them though.
/yes, I do collect browser bombs to send to friends as pranks.
// I always label the links DO NOT CLICK, but they do anyways.- shiftt, on 10/10/2007, -0/+4Do you have anything that will crash IE 7?
- doctapeppa, on 10/10/2007, -0/+3damn you!
- Namco, on 10/10/2007, -0/+6Holy crap, that second one is awesome. I can't make much use of it as the link itself is NSFW, but oh well. Maybe tinyurl it first.
- Torbar203, on 10/10/2007, -0/+5its anything.on.nimp.org
- badtzmartin, on 10/10/2007, -0/+1That second one even f**ked up Firefox on my MacBook.
Holy crap... I had to forcibly reboot just to regain control. - tito13kfm, on 10/10/2007, -0/+2So what was supposed to happen on the 2nd one? Cause nothing did.
Running noscript and have my browser locked down on what a website can do to the browser. - dacheetah, on 10/10/2007, -0/+1First one 404'd
Second one Avast intercepted two pieces of malicious code, and the tab was easily closed. (Glad I didn't do it at work though, given the uh, background...) - Stefanoz72, on 10/10/2007, -0/+0On Firefox the Noscript extension blocked those stupid javascript "bombs", so nothing particular happened, except that I'm disgusted.
- mehss, on 10/10/2007, -2/+6That'd be pretty dumb to put on a website.
- BuckyDent, on 10/10/2007, -2/+6or very cool to put on a website
- Jugalator, on 10/10/2007, -1/+2Yes, you'd get a lot of excited Firefox fans.
- BuckyDent, on 10/10/2007, -2/+6or very cool to put on a website
- nubnub, on 10/10/2007, -8/+2Kaspersky Internet Security 6.0
The requested URL http://*****.on.nimp.org/ is infected with Exploit.HTML.DialogArg virus
meh using firefox, so it doesn't matter.- badtzmartin, on 10/10/2007, -4/+0It f**ked up my firefox on a MAC.
I had to forcibly reboot to regain control...- andyduncan, on 10/10/2007, -0/+5right click on the firefox dock icon, hold down option and select "force quit" or type command-option-escape to bring up the force quit menu. It's just a javascript loop, you don't need to restart your whole machine.
- nakani, on 10/10/2007, -0/+4Anyone who surfs Digg regularly should know about forcing quit on browsers from unresponsive Javascripts :)
- andyduncan, on 10/10/2007, -0/+5right click on the firefox dock icon, hold down option and select "force quit" or type command-option-escape to bring up the force quit menu. It's just a javascript loop, you don't need to restart your whole machine.
- deadlikeoscar, on 10/10/2007, -0/+5"killall -9 firefox-bin" is faster
- badtzmartin, on 10/10/2007, -4/+0It f**ked up my firefox on a MAC.
- p0ltergeist, on 10/10/2007, -2/+13It choked on this instruction (from the disassembly)
mov eax,dword ptr [ecx+4]
In this case, ecx was 0, so it tried to access 0x0004, which it didn't have access too.- Jugalator, on 10/10/2007, -1/+5So in other words, a null pointer crash. Probably some function returning null before that due to whatever condition, and no error checking before using the value.
- amoeba, on 10/10/2007, -2/+1nice assembly analysis ;-)
- cyphin6, on 11/13/2007, -4/+1Hm sorry guys doesn't crash for you, you guys fail
- YellowJKT, on 10/10/2007, -0/+9C:*backslash*concon*backslash*con --- anyone?
http://en.wikipedia.org/wiki/Concon- shiftt, on 11/13/2007, -0/+6ahhh the good ol' days when you could walk up to any machine and crash it with a simple Run command :)
- andyduncan, on 11/13/2007, -0/+9if you can walk up to a machine why do you need a command? you have access to the power cord.
- grumpyrain, on 11/13/2007, -0/+4They were the same days where you could crash the OS by leaving it on for 49.7 days ;)
(For those who can't remember, a counter tracking the number of milliseconds since boot was 32 bit unsigned. It overflowed and bang. Still you were doing pretty well to keep anything in the 9x series running for anywhere close to that long.)
- shiftt, on 11/13/2007, -0/+6ahhh the good ol' days when you could walk up to any machine and crash it with a simple Run command :)
- nubnub, on 10/10/2007, -4/+2< div style="visibility:hidden">< style>*{position:relative}< table>< input>< /div>
Hidden :) - rmeddy, on 11/13/2007, -11/+9How to crash ie6 with no lines of code:use it
- mhender, on 11/13/2007, -1/+12K. Jokes been said 50 times in this thread, you're not funny. GG.
- crapmatic, on 10/10/2007, -4/+13Quick -- get the Microsoft patch! Here's the code change:
if (browser.url = 'http://immike.net/scripts/ie_crash.html') then
{
halt;
}
else
{
render(browser.url);
}- p0ltergeist, on 10/10/2007, -0/+15It might be hard to believe, but according to Microsoft employees, Microsoft has been known to fix bugs this way.
- AdamFromMyspace, on 10/10/2007, -0/+0Why is that hard to believe?
- p0ltergeist, on 10/10/2007, -0/+15It might be hard to believe, but according to Microsoft employees, Microsoft has been known to fix bugs this way.
- Kakou, on 11/13/2007, -5/+14ignore IE6 with one line of text:
getfirefox.com - cog77, on 10/10/2007, -0/+20So if 1000 IE6 browsers click on "a href='http://immike.net/blog/2007/08/06/single-line-of-html-crashes-ie-6/'", who wins?
- marm0t, on 10/10/2007, -1/+6They all lose, for using IE6.
- BuckyDent, on 10/10/2007, -0/+2The one Safari/Firefox user, the one user who would know what to do if he actually got on to the website.
- appleswitch, on 10/10/2007, -0/+1damn comment system
- appleswitch, on 10/10/2007, -0/+1Who wins if you crash 1000 IE6 users? Web developers win, It's called revenge...
- gamingkrazy, on 10/10/2007, -4/+0*{position:relative}
- wildwilly, on 10/10/2007, -1/+0IE6 > IE7
Firefox still owns both of them though
- wildwilly, on 10/10/2007, -1/+0IE6 > IE7
- Macshiba, on 10/10/2007, -2/+5Neat. A single article submitted to digg can crash the whole site.
- nitrojunky24, on 10/10/2007, -4/+11who uses ***** IE6? I guess only if your stuck on a windows 98 In that case I suggest linux!
- MGopinath, on 10/10/2007, -1/+4"who uses ***** IE6?". -- 80% of my blog http://mgopinath.blogspot.com users are using IE6. So, IE6 is still dominating the web world.
- jacenat, on 10/10/2007, -0/+1IE7 isn't supported on win2k either.
Let alone the people that just don't update. - r04dki11, on 10/10/2007, -0/+1Like me. I do web development and can't justify the upgrade until IE7 is a majority of the browsers.
- Apoy, on 10/10/2007, -0/+1i tried it it worked
- PainToad, on 10/10/2007, -2/+0If only it didn't need the < input> it would post on MySpace....Now that would be fun :-)
- johnboyjr, on 10/10/2007, -0/+2it works on myspace http://www.myspace.com/outsidersedge
- tamarind, on 10/10/2007, -2/+1This will lock up firefox but doesn't touch IE7:
while(true) { document.write(document.documentElement.innerHTML); }- dacheetah, on 10/10/2007, -0/+1I don't have MSIE7 here to check with, but it does lock up firefox...
-
Show 51 - 100 of 107 discussions

Digg is coming to a city (and computer) near you! Check out all the details on our