This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using this code snippet to close browser window:
The code is working perfectly on IE.
On Firefox, if the page contains that script is on local machine, it is working perfectly as well.
However, if the page comes from a remote server, Firefox shows an error message:
Error: A script from "http://localhost:9898" was denied UniversalBrowserWrite privileges.