Comment: Ajax partial refresh can modify browser address through the new HTML5 feature. The following will introduce the specific implementation to you, hoping it will be helpful to you.
Ajax partial refresh can modify browser address through new HTML5 features.window.history represents the history of window objects
window.history.pushState(object, title, new_url) -- Add a new history point in window.history
window.history.replaceState(object, title, new_url) -- Replace the history point of the current page in window.history
object - Can extend the desired object
Title - Currently all browsers do not support it
The new_url browser will not check whether the url exists, it only changes the url. The url must be the same domain and cannot cross domains.
eg: original url:
window.history.pushState({time: 'test'}, '', 'www.test_test.com')