Navigation API demo

Note: the navigation API was formerly known as the app history API.

I am index.html! I contain a normal link to subpage.html:

subpage.html

This link works without JavaScript and in all browsers. If you Ctrl click or middle-click or right-click to open in a new tab, that will all work as usual.

But if you are using Chrome with Navigation API support, and just activate it without trying to open it in a new window, then it will do a single-page app navigation.

Here is another link, but it is a hash navigation, so it should not get intercepted. You can still watch the console to see what happens with the navigate event:

#console

Here are some buttons for other tests; you can watch your console to see what happens.

(Note: loading spinner control does not yet work for back/forward traversals; that was planned next in the original demo.)

example.com link for accessibility testing