Nice tutorial! Very descriptive. I might have to try this out.
Nice tutorial! Very descriptive. I might have to try this out.
Great idea, but not all browser support onerror if I'm not mistaken.
Thanks for the feedback Hoobrum, can confirm it works for latest FF but alas not IE9.
Will look at revising the script later in the week, if anybody else wants to try by all means do so.
Pondering the possabilities...
- Onreadystatechange might work but 100% sure
- vaugely recall IE had a special event handler ImageLoadFailed?
- Generating the 'status' variable using a remote JS script from the site being checked rather than looking for the image load error.. maybe
- Use Google apps engine with Python or Java.... uuugh
- Beat it to death with a Yahoo Pipe.. tempting but would be ugly
- Use FLASH / actionscript... aaagh I hate writing that stuff lol!
Last edited by cybrax; 05-15-2011 at 09:38 PM.
The code must flow.
Project 157: Latest UK Jobs direct to your mobile phone
New Domain under construction: Lovelogic.net
home for some new projects that we can't keep here ;)
thank nice
good post i am sure many people will find this usefull
If I have helped, please add to my reputation by clicking the star in the bottom left of my post.If not, well who cares add to my rep anyways.
Update: scratch previous ramblings, have horibble feeling it's not the event handling but IE not accepting the redirect using window.location
The code must flow.
Project 157: Latest UK Jobs direct to your mobile phone
New Domain under construction: Lovelogic.net
home for some new projects that we can't keep here ;)