Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to close the window in Firefox 2.0

Status
Not open for further replies.

rnsmurthy

Programmer
Dec 18, 2006
1
US
How to close the window in Firefox 2.0 without changing this value (dom.allow_scripts_to_close_windows, true)(as true) .
We can able to close the window by using the javascript : window.close(); if we change the pref(dom.allow_scripts_to_close_windows, true) (as true);

Please let me know the javascript code for closing the window without doing the changes in below given Mozilla js.
(C:\Program Files\Mozilla Firefox\greprefs\all.js).

Thanks, Murthy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top