-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.html
More file actions
25 lines (25 loc) · 833 Bytes
/
script.html
File metadata and controls
25 lines (25 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Script</title>
</head>
<body>
<script>
function startScript() {
setTimeout(() => {
const now = new Date();
if (now.getHours() !== 14) startScript();
else {
if (now.getMinutes() !== 00) startScript();
else {
if (now.getSeconds() !== 00) startScript();
else document.querySelector("#checkout > div.buttonContainer > button").click();
}
}
}, 100)
}
</script>
</body>
</html>