更新时间:2023-11-04 15:35:16
你可以改变哈希/锚定网址的一部分(在#之后)。 URL的其余部分是只读的。
You can change the hash/anchor part of the URL (after #). The rest of the URL is readonly.
location.hash = "#value";
可以使用javascript重写URL客户端而无需重新加载页面
使用jQuery更改URL而无需重新加载页面