Document.documentURI
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.
Document
인터페이스의 documentURI
속성은 document location 을 string 으로 반환합니다.
DOM3 에서 원래 이 속성은 읽기/쓰기 속성으로 정의되어 있습니다. DOM4 명세에서는 읽기 전용입니다.
Syntax
js
var string = document.documentURI;
Notes
HTML documents 는 동일한 값을 반환하는 document.URL
속성을 가집니다. URL
과는 달리, documentURI
는 모든 타입의 documents 에서 이용 가능합니다.
명세서
Specification |
---|
DOM # ref-for-dom-document-documenturi① |
브라우저 호환성
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
documentURI |
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.