A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/MessageEvent/origin below:

origin ยท WebPlatform Docs

origin Summary

Gets the URL of the document of origin.

Property of dom/MessageEventdom/MessageEvent

Syntax

Note: 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.

Notes

In 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 specifications
W3C HTML5
Working Draft
WHATWG HTML
Living Standard
Attributions

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