code,will,limit,Javascript,Errors
Quick Search for:  in language:    
code,will,limit,Javascript,Errors
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Java/ Javascript Stats

 Code: 155,451 lines
 Jobs: 364 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Java/ Javascript.
Protect Your Source Code ??
By christopher.rav en on 10/18


format date
By Sam Collett on 10/18


Click here to see a screenshot of this code!Applicant assessment
By SP Tang on 10/18

(Screen Shot)

Emulated Typewriter
By Mike Powers on 10/17


Click here to see a screenshot of this code!Java-Asp chat
By Paul R. Richards on 10/17

(Screen Shot)

Click here to see a screenshot of this code!The Data Markup Language
By Tanwani Anyangwe on 10/16

(Screen Shot)

ordered binary tree
By Eric Repec InetSolution on 10/16


Infinite tree w/XML
By Eric Repec InetSolution on 10/16


Click here to see a screenshot of this code!Shiznit Javascript Color Picker
By Chris Towers on 10/15

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Stop JavaScript Errors

Print
Email
 
VB icon
Submitted on: 1/27/2001 1:21:51 PM
By: Mike McNaughton  
Level: Intermediate
User Rating: By 5 Users
Compatibility:Java (JDK 1.1), Java (JDK 1.2), JavaScript

Users have accessed this code 4052 times.
 
(About the author)
 
     This code will limit all Javascript Errors
 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

//**************************************
//     
// Name: Stop JavaScript Errors
// Description:This code will limit all 
//     Javascript Errors
// By: Mike McNaughton
//
//This code is copyrighted and has// limited warranties.Please see http://
//     www.Planet-Source-Code.com/xq/ASP/txtCod
//     eId.2068/lngWId.2/qx/vb/scripts/ShowCode
//     .htm//for details.//**************************************
//     

<SCRIPT LANGUAGE=JAVASCRIPT>
<!--
// suppress javascript errors

    function stoperror(){
    return true
}

window.onerror=stoperror // end hide -->


Other 16 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
1/27/2001 1:42:26 PM:Johnny
Now I know I can be a very easy marker  
when looking at these things as I have 
always said but this is another great 
code. It works VERY WELL!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/2/2001 7:36:51 AM:Evelin
well i copied and pasted the code into 
my html...but it errased all the 
html...showing me only this code on the 
wegsite then...did i paste it into the 
wrong spot in my html????
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Java/ Javascript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.