Window.opener
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Window
인터페이스의 opener
속성은 open()
을 사용해 현재 창을 열었던 창의 참조를 반환합니다.
예제로 설명하자면, 창 A
가 창 B
를 열었을 때 B.opener
는 A
를 반환합니다.
구문
js
const openerWindow = window.opener;
값
명세
Specification |
---|
HTML # dom-opener-dev |
브라우저 호환성
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
opener |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.