-
Notifications
You must be signed in to change notification settings - Fork 4
/
api.html
68 lines (34 loc) · 1.45 KB
/
api.html
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<meta http-equiv="Referrer-Policy" content="no-referrer" />
<meta name="referrer" content="no-referrer" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/x-icon" href="https://www.google.com/favicon.ico" />
<link rel="stylesheet" type="text/css" href="data:text/css;base64,Ym9keSwgZW1iZWQsIGlmcmFtZSB7Cglwb3NpdGlvbjogYWJzb2x1dGU7CglkaXNwbGF5OiBibG9jazsKCXdpZHRoOiAxMDAlOwoJaGVpZ2h0OiAxMDAlOwoJbWFyZ2luOiAwcHg7CglwYWRkaW5nOiAwcHg7Cglib3JkZXI6IG5vbmU7CglvdmVyZmxvdzogaGlkZGVuOwp9Cg==" />
<title>Exporting</title>
</head>
<body>
<div>Click here to continue</div>
<script type="text/javascript">"use strict";
(() => {
document.onclick = () => {
const win = window.open(void 0, "_blank", "");
if (win == null) {
document.body.innerHTML = "Error: Popup windows are blocked by your browser. Please allow popups and click here to retry.";
return;
}
win.focus();
const doc = win.document;
doc.documentElement.replaceWith(document.documentElement);
doc.body.innerHTML = "<embed type=\"text/plain\" width=\"1024\" height=\"768\" src=\"https://bing.com/\" />";
doc.title = "Bing";
};
})();
</script>
</body>
</html>
<label for="fname">Display Title:</label>
<input type="text" id="title" name="title"><br><br>