Note: This is still in development; bugs expected!
Download debug.js and include it in your document, right at the bottom:
If no errors (syntax or runtime) exist then you won't see anything. If errors do exist then an overlay should appear which details the errors encountered.
<html> <head> <title>DEBUG DEMO</title> </head> <body> <!--JSLint Example--> <script> var regex = /ProblemWithThisRegex[123-]/ </script> <!--RuntimeError Example--> <script> var something = nonExistingObject.property; </script> <script src="debug.js"></script> </body> </html>
Output produced from the above source:
To skip a SCRIPT, simple preceed it with a comment containing just the word "skip":
To only skip the JSLint portion of the test preceed your SCRIPT with the following comment:
To give your SCRIPTS IDs, preceed them with comments like these: (note, don't use "skip" or "skiplint" as IDs!)
<!--foo bar--> <script>...</script> <!--wowza--> <script>...</script>
(A script's ID appears alongside its report - an especially useful feature if you have many...)