This thread was closed.
Please ask a new question if you need help.
"javascript:window.close()" script doesnt work in firefox 3.6 and above It works in IE8 and used to work in earlier Firefox
I am using <a href="javascript:window.close()"> to close the window at the completion of an online survey. I works OK in IE and used to work in Firefox. Now the script does not do anything in 3.6 and above . In IE it closes a window through a GUI
Additional System Details
Sites Affected
http://www.surveyquest.co.uk/surveys/testsite/fftest/Ethnos.dll
Installed Plug-ins
- Zeon PDF Plugin For Mozilla
- Google Update
- BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
- Shockwave Flash 10.1 r53
- iTunes Detector Plug-in
- Garmin Communicator Plug-In 2.6.2.0
- GEPlugin
- Yahoo Application State Plugin version 1.0.0.7
- 4.0.50524.0
- The plug-in allows you to open and edit files using Microsoft Office applications
- 6.0.12.46
- RealPlayer(tm) LiveConnect-Enabled Plug-In
- RealJukebox Netscape Plugin
- 1.4
- Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
- Adobe PDF Plug-In For Firefox and Netscape
- The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
Application
- User Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0b4) Gecko/20100818 desktopsmiley_2_2_7417774631329091_239_23 DS_gamingharbor Firefox/4.0b4 ( .NET CLR 3.5.30729; .NET4.0C)
More Information
the page is at the end of this site
In Firefox you can only close a window that was previously opened via JavaScript
See :
https://developer.mozilla.org/En/DOM/window.close https://developer.mozilla.org/En/DOM/window.open
