JS無刷新修改URL相似博客園翻頁效果

<script type="text/javascript">
	function changeURL(){
		var url = document.getElementById('url').value;
		window.history.pushState({},0,'http://'+window.location.host+'/'+url);		
	}

</script>	

相關文章
相關標籤/搜索