April 13, 2006
9:06 am
Markku Uttula has written a little hack that captures JavaScript errors and sends them to his web server log using Ajax. If you would want to do this? Implementation: One PHP file that does both the error writing, and also acts as the script src= to capture errors:
[code]window.onerror = function (msg, url, lno) {
… ajax call back to the server log …[/code]

TrackBack URI Leave a comment »