Nasi wolontariusze nie przetłumaczyli jeszcze tego artykułu na język Polski. Dołącz do nas i pomóż go przetłumaczyć!
Można także przeczytać artykuł w języku: English (US).

The documentURI property of the Document interface returns the document location as a string.

As originally defined in DOM3 this attribute read/write. In the modern DOM Standard it is read only.

Syntax

var string = document.documentURI;

Notes

Documents also have a document.URL property which returns the same value.

Specifications

Specification Status Comment
DOM
The definition of 'documentURI' in that specification.
Living Standard  
Document Object Model (DOM) Level 3 Core Specification
The definition of 'documentURI' in that specification.
Obsolete Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
documentURIChrome Full support 1Edge Full support 17Firefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
Read-only behaviorChrome Full support 43Edge ? Firefox Full support YesIE No support NoOpera Full support 30Safari No support NoWebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support 30Safari iOS No support NoSamsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

Autorzy i etykiety dokumentu

Ostatnia aktualizacja: mdnwebdocs-bot,