0
私は以下のコードを使用しますが、ページはまだ更新されます。 URLまたはページを更新せずに変更しようとしています。MozillaでページリフレッシュなしでブラウザのURLを変更する方法
//getting the url from browser
var uri = window.location.toString();
//checking whether the url has anything after '?'
if (uri.indexOf("?") > 0)
//then take the url before '?'
var clean_uri = uri.substring(0, uri.indexOf("?"));
//And push this to browser
window.history.replaceState({}, document.title, clean_uri);
質問形式を改善してください...また、開始することをお勧めします:https://stackoverflow.com/help/how-to-ask – gmo