Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

how to close a main window using javascript.

  • 2 답장
  • 33 이 문제를 만남
  • 17 보기
  • 최종 답변자: 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?

글쓴이 the-edmeister 수정일시

모든 댓글 (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