【发布时间】:2017-12-13 00:32:59
【问题描述】:
假设我的网址是http://example.com#example.org 我想在 5 秒后重定向我当前的标签“example.com”以查询参数“example.org”
<head>
<title></title>
<script type="text/javascript">
var x = window.location.hash.substr(1);
</script>
<meta http-equiv="refresh" content="4;url=x"/>
</head>
<body>
</body>
【问题讨论】:
标签: javascript html query-string query-parameters