Title: HTML5 pushState
Author: lontongcorp
Published: <strong>15. februar 2013</strong>
Last modified: 16. februar 2013

---

Søk gjennom innstikk

![](https://ps.w.org/pushstate/assets/banner-772x250.png?rev=668727)

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

![](https://s.w.org/plugins/geopattern-icon/pushstate_aed0db.svg)

# HTML5 pushState

 Av [lontongcorp](https://profiles.wordpress.org/lontongcorp/)

[Last ned](https://downloads.wordpress.org/plugin/pushstate.1.0.2.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/pushstate/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/pushstate/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/pushstate/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/pushstate/#developers)

 [Hjelp](https://wordpress.org/support/plugin/pushstate/)

## Skildring

Ajaxify wordpress with HTML5 pushState based on History.js by [Benjamin Lupton](http://github.com/balupton/history.js).

Support for HTML5 modern browser only, focus on mobile and not breaking SEO rank.

Take an advantages from History.js, visited contents saved into browser’s so it 
will find and display it directly, no repeating request to server even have anchor(#).

Bundled with jQuery scrollTo plugin for user experiences and used to read and scroll
to anchor.
 Using jQuery AJAX methods, some plugins that used javascript will not
work. And due to AJAX methods, this will not working with cross-domain (subdomain)
calls.

No Jetpack API (or similar) integrations for now, so it just get whole page/post
request and filtering the content to show in the body.

### Early Version

This is just a preliminary version as I can see no real pushState implementation
for wordpress yet.

#### Conflicts

Some known not works with:

 * WP SyntaxHighligher
 * Some eCommerce plugins (WooCommerce, eShopping, etc)’s plugins
 * News-Ticker
 * … please let me know …

## Installasjon

 1. Download from wordpress plugins or upload to your server «/wp-content/plugins/»
    manually as usual
 2. Activate and go the [Settings](https://nn.wordpress.org/wp-admin/options-general.php?page=pushstate)
    link
 3. Put the container DOM ( «body», «#container_id», «.some-classes» )

Tested on TwentyTwelve themes, with «#content» container

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“HTML5 pushState” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ lontongcorp ](https://profiles.wordpress.org/lontongcorp/)

[Omset “HTML5 pushState” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/pushstate)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/pushstate/), sjekk 
[SVN-lageret](https://plugins.svn.wordpress.org/pushstate/) eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/pushstate/)
med [RSS](https://plugins.trac.wordpress.org/log/pushstate/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0.2

 * Improved performances
 * Add more options
 * Custom loading image (remove default)
 * Loading image position, relative to DOM as CSS background
 * Javascript on-complete callback
 * Avoid pushState from feed links

#### 1.0.1

 * Add parseURI from Steven Levithan <stevenlevithan.com>
 * Avoid pushState from links:
    - any login page
    - wp-admin
    - any pictures (jp*g|png|gif|bmp|css|js)
 * Change name to «HTML5 pushState (on Settings menu and others)

#### 1.0.0

First Release

## Om

 *  Version **1.0.2**
 *  Last updated **14 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 3.0 eller nyare **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/pushstate/)
 * Tags
 * [ajax](https://nn.wordpress.org/plugins/tags/ajax/)[HTML5](https://nn.wordpress.org/plugins/tags/html5/)
   [themes](https://nn.wordpress.org/plugins/tags/themes/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/pushstate/advanced/)

## Vurderingar

 4.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/pushstate/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/pushstate/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/pushstate/reviews/)

## Contributors

 *   [ lontongcorp ](https://profiles.wordpress.org/lontongcorp/)

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/pushstate/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.lontongcorp.com/2013/02/15/wordpress-html5-pushstate/)