Hour 22. Controlling the Browser History with the History API

What You’ll Learn in This Hour:

• How to control the browser history

• How to add pages to the history to add forward and back navigation in dynamic sites

• Methods to navigate through the history

• How to use the History API to add and delete pages from the history

Anyone who has browsed the web is familiar with browser history, the sequence of pages that the user has visited, and everyone uses the back button (probably the most-used button on a web browser) to skip back to the previous page(s) in that history.

In the past, a web developer could use JavaScript to navigate the user through the history, but could not change the pages that were listed in the browser history (or the ...

Get Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.