JAVASCRIPT: BLOCK ERRORS

Here’s an important one to put in your pages. It will block any errors in script syntax that may be laying dormant in your pages. Just a precaution…

 

// Source: CodeFoot.com

function blockError(){return true;}

window.onerror = blockError;

JAVASCRIPT:Setting The HomePage

Here’s the easy script. Works in IE 4 and above. Won’t cause errors in Netscape though. Place in the BODY…

<!–[if IE]> 
<a HREF 
onClick=”this.style.behavior=’url(#default#homepage)’;
this.setHomePage(‘http://www.boogiejack.com&#8217;);”>
Click here to make Boogie Jack’s your start page!</a> 
<![endif]–>