History API

E555971

The History API is a browser feature that lets web applications manipulate the session history (such as adding and modifying entries and URLs) without causing full page reloads.

Jump to: Statements Referenced by

Statements (49)

Predicate Object
instanceOf Browser feature
Web API
affects Browser address bar
Browser back button behavior
Browser forward button behavior
allows Changing the fragment identifier
Changing the path component of the URL
Changing the query component of the URL
avoids Full page reloads
benefit Better integration with browser navigation controls
Enables bookmarkable dynamic pages
Enables shareable URLs for application state
Improved user experience
category Browser history management
Client-side web technology
compatibleWith Most modern desktop browsers
Most modern mobile browsers
definedIn HTML Living Standard NERFINISHED
documentedAt MDN Web Docs NERFINISHED
enables Back and forward navigation integration
Dynamic URL updates
Single-page application navigation
exposedVia window.history
hasMethod history.back()
history.forward()
history.go()
history.pushState()
history.replaceState()
hasProperty history.length
introducedWith HTML5 era browsers
partOf HTML5 specification
primaryPurpose Changing the URL without full page reload
Manipulating session history
providedBy Web browsers NERFINISHED
relatedEvent popstate
relatedTo Hash-based navigation
Location interface NERFINISHED
requires JavaScript NERFINISHED
restriction Cannot change origin
Subject to same-origin policy
supports Adding history entries
Modifying history entries
Navigating through session history
usedBy Client-side routers
Single-page applications
usesConcept Document URL
History entry
Session history
State object

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Web APIs example History API