Facebook URL AJAX [重复]

This question already has answers here:
                </div>
            </div>
            <div class="grid--cell mb0 mt8">Closed <span title="2012-06-28 15:47:02Z" class="relativetime">7 years ago</span>.</div>
        </div>
    </aside>

Possible Duplicate:
How to create a static (non-refreshing) menu bar like Facebook?

How Facebook ajax work technologies? Can you tell me how change URL without refreshing page and static header in rails

</div>

Read my answer

PJAX loads html from your server into the current page without a full page load. It's ajax with real permalinks, page titles, and a working back button that fully degrades.

Use history.pushState() to change the browser URL without reloading the page. http://diveintohtml5.info/history.html

You can then add an event listener to the popstate event and react accordingly when the back button is used.