📜  如何将字符串附加到 jquery 中的当前 url | Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:14.243000             🧑  作者: Mango

代码示例1
var refresh = window.location.protocol + "//" + window.location.host + window.location.pathname + '?arg=1';    
window.history.pushState({ path: refresh }, '', refresh);