The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
origin property
Gets the Uniform Resource Identifier (URI) of the document of origin.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: String
The URI of origin.
Standards information
Remarks
In cross-document messaging, the origin attribute represents the originating URI of the document that sent the message (typically the URI includes the scheme, host name, and port of the document, but not its path or fragment identifier).
See also
Show:

