Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Google plus, when I click on a Google plus profile or any Google plus link the page gets redirected to that link without a full page load but the URL changed and a record added to browser history.

How this can be done? Is there any tutorial or document?

share|improve this question
Isn't this more appropriate as a Stackoverflow question? – Pacerier May 12 '14 at 13:22
up vote 4 down vote accepted

I would guess this is done with the HTML5 History API. I don't really have anything to back that up, other than than Github works this way.

There's several topics adressing this here already. Look at the links provided or those topics for more information.

share|improve this answer

history.pushState() should do what you want. The Mozilla Developer Network provides more information: Keep in mind there may be browser support issues depending on what browsers you want to your website to work in.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.