Skip to content

Glossary: JavaScript in the Browser

Origin

A site's scheme, host and port, such as http://localhost:8080. A page may read responses only from its own origin, and each origin has its own localStorage.

Where the book teaches it

Related terms

CORS (cross-origin resource sharing)Proxy