Go to content Go to navigation Go to search

Persuade family and friends away from IE6

August 30th, 2006 by Jake

Ever wish you could persuade family and friends to stop using IE6? Ever wanted to give them a gentle but firm nudge in the right direction? Well now you can.

A web developer posted an exploit on his blog which immediately crashes the IE6 (or 5.5, or 5.0, etc.) engine to the ground. And by crash, I mean Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience. Sound familiar? It’s the dreaded “Guess what? Your app crashed! Now you get to start all over again!” message Windows displays.

The exploit comes when trying to list all properties in JavaScript of document.write. FireFox renders the code perfectly, and IE7 ignores the error (nothing is displayed, but it doesn’t crash), but IE6 and below crash. So, just add this one line of code to any web page, and when their browser crashes, sound confused and helpful… “Oh, that’s strange, the website works fine for me. why don’t you try a different browser, a better browser.” Catch my drift?

Here’s the code… 61 bytes of IE-crashing goodness.

<script>for (x in document.write) { document.write(x);}</script>

QuickURLs for SpikeX.net

August 9th, 2006 by Jake

I coded a quickurl system last night. It’s not much, but I figured it would be useful since my domain is fairly short. Try it out! Add your URL here, and get the low numbers while you still can!

LinkGen Revisited

May 14th, 2006 by Jake

I’ve constantly used my old LinkGen script on shift-one.net for flash videos and other miscellany things that browsers only let you view and not save. The problem is, though, that I required myself to login before accessing that script, which is a pain in the ass.

So, I decided to rewrite it. It was originally going to be AJAX, but I decided that it was too simple for AJAX, so I just did it in JavaScript. It turned out much better than I thought, really, and I learned quite a bit about JavaScript (that I’ll definately be using on sites I develop in the future). It dynamically creates the link, there’s no button to generate it, it’s done on-the-fly, and it even warns you if your link doesn’t start with http:// or ftp://. I was leaning more towards Web 2.0 when I wrote this (no page reloads, everything’s done dynamically).

The main use I’ve gotten from this is downloading flash videos from websites like eBaum’s World and GPrine.net. To do this, simply visit a page with a flash video on it, view the page source, find the embed src tag and grab the URL to the video (Flash videos usually end in .swf), visit the LinkGen site (link below), right-click, and hit Save Target As. If you want to watch it, open the .swf in your favorite web browser. Voila! Your favorite flash videos and games at your disposal with no load times.

You can find my nicely redone dynamic LinkGen script here: http://lg.spikex.net/ (LinkGen.SpikeX.net)