This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-ui-demo/demo/resources/reload.html
2019-10-30 18:02:09 +08:00

24 lines
534 B
HTML

<html>
<head>
<title></title>
</head>
<body>
<script language="javascript">
function getUrl() {
var query = window.location.hash.substring(1);
var vars = query.split("&&&");
for (var i=0;i<vars.length;i++) {
var url = vars[i];
return decodeURI(url).replace("html%23","html#");
}
}
var rel = '../';
var url = getUrl();
if (url.indexOf(":") > 0 && url.indexOf(":") < 10) rel = '';
self.location.href = rel + url;
</script>
</body>
</html>