EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

origin property

Gets the Uniform Resource Identifier (URI) of the document of origin.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 6.1

Syntax

JavaScript

p = object.origin

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

MessageEvent

 

 

Mostrar:
© 2014 Microsoft