Gets the URL of the document of origin.
Property of dom/MessageEventdom/MessageEvent
SyntaxNote: This property is read-only.
var messageOrigin = event.origin;
Return Value
Returns an object of type StringString
The origin URL of the document that sent the message.
NotesIn cross-document messaging, this property 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).
Related specificationsMicrosoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4