View Single Post
Old 08-29-07, 11:20 AM   #6
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Detecting Bad Links

You may run into some security restrictions on the DOM model but you could try loading your target site into a hidden IFRAME, detect if there's body in the IFRAME, and if not, then keep them on the page else parent.window.location.href redirect them.
evilghost is offline   Reply With Quote