Firefox replaceState does not update url

后端 未结 0 1264
轻奢々
轻奢々 2021-01-23 05:38

I want to change my url from javascript without reloading a page.

  window.history.pushState(null,\'\', newUrl);

It works in Chrome and Edge but

相关标签:
回答
  • 消灭零回复
提交回复
热议问题