示例代码:
<script type="text/javascript">
var test=window.location.href
if(test.indexOf("source")<=0){
history.pushState("", "Title", test+"?"+"&source="+"&source2=");
}
</script>
示例代码:
<script type="text/javascript">
var test=window.location.href
if(test.indexOf("source")<=0){
history.pushState("", "Title", test+"?"+"&source="+"&source2=");
}
</script>