상세 컨텐츠

본문 제목

Scripts may close only the windows that were opened by them. #해결방법

카테고리 없음

by A+티스토리 2022. 6. 10. 15:06

본문

반응형

정답 : 없습니다.

 

Window.close()

The Window.close() method closes the current window, or the window on which it was called.

This method can only be called on windows that were opened by a script using the Window.open() method. If the window was not opened by a script, an error similar to this one appears in the console: Scripts may not close windows that were not opened by script.

 

반응형

댓글 영역