Funkcionalnosć tutoho sydła so přez wothladowanske dźěła wobmjezuje, kotrež maja waše dožiwjenje polěpšić. Jeli nastawk waš problem njerozrisuje a chceće prašenje stajić, wobroćće so na naše zhromodźenstwo pomocy, kotrež na to čaka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomhać.

Pomoc přepytać

Hladajće so wobšudstwa pomocy. Njenamołwimy was ženje, telefonowe čisło zawołać, SMS pósłać abo wosobinske informacije přeradźić. Prošu zdźělće podhladnu aktiwitu z pomocu nastajenja „Znjewužiwanje zdźělić“.

Dalše informacije

how to close a main window using javascript.

  • 2 wotmołwje
  • 33 ma tutón problem
  • 17 napohladow
  • Poslednja wotmołwa wot cor-el

more options

Has anyone found a work around for this. I have a main window with a close button but I have tried many versions of closing with javascript and it wont let me in FF.

It says "scripts may not close windows that were not opened by script."

This works in every other browser but FF

I have tried opening this main window two ways. 1. key in url directly 2. coming from another page with a < a href link

Is there a work around?

Has anyone found a work around for this. I have a main window with a close button but I have tried many versions of closing with javascript and it wont let me in FF. It says "scripts may not close windows that were not opened by script." This works in every other browser but FF I have tried opening this main window two ways. 1. key in url directly 2. coming from another page with a < a href link Is there a work around?

Wot the-edmeister změnjeny

Wšě wotmołwy (2)

more options

If that page didn't open a new window with a script, Firefox isn't going to allow a script on that page to close that window.

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.

more options