Looks like a hack to me... function SymError() doesn't appear to do anything
( or shouldn't ), so there wouldn't be any purpose for declaring it in the
first place, much less setting the window.onerror event handler to it...
SymWinOpen appears to be a replacement for the window.open function which
returns an object ( as is expected with window.open ) but doesn't open a
window ( as is not expected with window.open ) -- which _looks_ like an
attempt to prevent the page from ever spawning a popup. The purpose for this
or for this to be done in this fashion is beyond me -- it looks to me like
trying to build a dam by first moving the water with buckets.

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

> Does anyone what the heck this code is used for?  It got
> inserted into
> all code on the webserver and cuts off the bottom portion
> of the code
> when you view the sourcecode or download the file.
> ----------------------------------------------
> <script language="JavaScript">
> function SymError()
> {
>   return true;
> }
> window.onerror = SymError;
> var SymRealWinOpen = window.open;
> function SymWinOpen(url, name, attributes)
> {
>   return (new Object());
> }
> window.open = SymWinOpen;
> </script>
> ---------------------------------------------
> onLoad="var SymTmpWinOpen = window.open; window.open =
> SymWinOpen;
> window.open = SymTmpWinOpen;"



> Thanks,
> Dave Bosky
> www.myrtlebeachdesigns.com
> <http://www.myrtlebeachdesigns.com/>



> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~|
> Archives:
> http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
> Subscription: http://www.houseoffusion.com/index.cfm?sideb
> ar=lists&body=lists/cf_talk
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Signup for the Fusion Authority news alert and keep up
> with the latest news in ColdFusion and related topics.
> http://www.fusionauthority.com/signup.cfm



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to