html5history

This module is for sites that want to use the HTML5 History Interface, but haven’t fully committed to a heavier front end framework that manages the history stack.

Using this module provides some key benefits over directly interacting with the window.history object:

  • It provides custom events that allow you to react to pushState and replaceState calls.
  • It provides adapter classes for the Drupal Ajax API that allows you to control the history stack from the server side.
  • The implementation doesn’t add much complexity over the native API.