<a href="javascript:window.close()">close this window</a>
This short line which was used in many scripts is now causing errors in Foxfire and IE. Please help me with what I need to change. TIA
<a href="javascript:window.close()">close this window</a>
This short line which was used in many scripts is now causing errors in Foxfire and IE. Please help me with what I need to change. TIA
In modern browsers you can only close a window using javascript if you opened that window using javascript. In IE, there is a kludge:
But this will not fool FF. I have no idea what devious minds found a way to exploit the window.close() method on non-javascript generated windows for personal gain or malicious purposes or what those objectives were but, apparently it has happened enough times that we are now left without this handy tool except for windows we've created using javascript.Code:<a href="javascript:window.opener=self;window.close()">close this window</a>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Bookmarks