Jump to content

How to self-close a window in Firefox


Krash

Recommended Posts

Been trying  to find a way to self close a FF window. The window is opened from a link on a board, and its only purpose is to run an onLoad script that launches a popup window, after which I need it to close itself. There are any number of ways to do this in IE, but nothing works in FF - the parent window remains open. Seems ridiculous that something so simple can't be done. Any help would be appreciated.

 

Thx.

Link to comment
https://forums.phpfreaks.com/topic/205072-how-to-self-close-a-window-in-firefox/
Share on other sites

 

The link is posted on a board in url tags, same as you can do here or on any board.  Launching a popup requires a script - you cannot include script in a url posted in a thread, so you must link to a webpage that contains the script and opens the popup.  Need the webpage to close itself and leave the popup over the board.  Works fine in IE, not at all in FF.  I just confirmed that FF will not allow javascript to close a window unless it was opened by script, which is not the case here.  Still haven't found a workaround.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.