JavaScript History PushState Generator: Build the URLs to add to history using pushState

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 207 All time: 240 This week: 5Up
Version License JavaScript version Categories
pushstate-generator 1.3Free For Educatio...1.0AJAX, Browser


This object build the URLs to add to history using pushState.

It can keep track of the current URL location and parameters and can compose new URLs to add to the browser history using pushState.

The object can also return the composed URL without pushing it to the browser history.

Innovation Award
JavaScript Programming Innovation award winner
May 2013

Prize: One book of choice by Packt
pushState is a function of the browser history object that can be used by AJAX applications to add a URL to the browser history, so the browser can associate a certain URL to the current state of the page loaded dynamically by AJAX requests.

This object can simplify the addition of new URLs to the browser history by combining query parameter values of the initial request and a new URL being pushed to the browser history.

Manuel Lemos
Picture of Martin Barker
  Performance   Level  
Name: Martin Barker <contact>
Classes: 10 packages by
Country: United Kingdom
Age: 34
All time rank: 201 in United Kingdom
Week rank: 6 Up1 in United Kingdom Equal
Innovation award
Innovation award
Nominee: 6x

Winner: 4x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.js Example Example use of object
Plain text file pushStateGen.js Class main class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:240
This week:5Up