Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2013-10-24 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 203 All time: 238 This week: 19Up
Version License JavaScript version Categories
pushstate-generator 1.3Free For Educatio...1.0AJAX, Browser
Description Author

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
Winner


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
  Performance   Level  
Name: martin barker <contact>
Classes: 10 packages by
Country: United Kingdom United Kingdom
Age: 29
All time rank: 201 in United Kingdom United Kingdom
Week rank: 14 Up1 in United Kingdom 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  
 0%
Total:203
This week:0
All time:238
This week:19Up