js解決方法:
function locationReplace(url){ if(history.replaceState){ history.replaceState(null, document.title, url); history.go(0); }else{ location.replace(url); } }
出處是stackoverflow,其他方法還有就是原生客戶端的解決方法,地址:https://stackoverflow.com/questions/14333620/android-webview-location-replace-doesnt-work