更新TSG-v3.0 Security Policy版本初稿原型
This commit is contained in:
24
resources/reload.html
Normal file
24
resources/reload.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user