View Full Version : WHAT is this?
11-05-2006, 09:47 PM
I see this so often in source codes, what is it?
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
return (new Object());
window.open = SymWinOpen;
11-05-2006, 10:02 PM
That's Norton blocking advertisments or, trying to.:rolleyes:
11-06-2006, 01:19 AM
its an error handling script.
basically if there is an error caused by any of the scripts on that page it'll trigger the specified script. in this case it returns true, which essentially makes it seem as though an error didnt occur. what ever script caused the error will not complete, but the user wshould not be prompted that there was an error, would you like to continue to run scripts on this page? instead it tells the browser to ignroe the error. this is a great tool if you collect the error information so that you can fix it later. but most people dont do that.
11-06-2006, 01:54 AM
It is either added by your firewall if you are running Norton or if it is in the web page itself then the person who owns the site is running that firewall and forgot to delete that code from their page before uploading it.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.