Skip to content

Commit da78e4d

Browse files
author
李阳
committed
test
1 parent 66f8380 commit da78e4d

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

test/index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Document</title>
9+
</head>
10+
11+
<body>
12+
<a href="www.baid.com">123</a>
13+
<input type="hidden" id="refreshed" value="no">
14+
</body>
15+
<script>
16+
17+
onload = function () {
18+
var e = document.getElementById("refreshed");
19+
if (e.value == "no") {
20+
e.value = "yes";
21+
} else {
22+
e.value = "no";
23+
location.reload();
24+
}
25+
}
26+
</script>
27+
28+
</html>

0 commit comments

Comments
 (0)