Mozilla 도움말 검색

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

Learn More

how close broswer window use js code??

  • 2 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

hi everyone. My job web developer. I've been given a mission. I have to close the browser window using JavaScript. But for security reasons, window.close () seems to be clogged. Is there any other way to end the browser window? Is there a setting that can end the browser window? It is very important to me. please answer about my question.

hi everyone. My job web developer. I've been given a mission. I have to close the browser window using JavaScript. But for security reasons, window.close () seems to be clogged. Is there any other way to end the browser window? Is there a setting that can end the browser window? It is very important to me. please answer about my question.

모든 댓글 (2)

more options

Hi, is beyond me on that but what about trying a Script to shut it down through Windows Task Manager (if possible). You may want to check a Windows forum for that info.

https://developer.mozilla.org/en-US/docs/Web/API/Window/close http://www.yournewdesigner.com/css-experiments/javascript-window-close-firefox.html Maybe need to ask again here for 57+ https://stackoverflow.com/questions/31981848/window-close-not-working-in-firefox

I am not finding anything fince the release of ver 57 Nov14th 2017 Stackoverflow would be the best place to ask.

more options

You can only close a window via JavaScript if that window has been opened via JavaScript (window.open())