-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathdataurl.html
More file actions
50 lines (50 loc) · 1.7 KB
/
dataurl.html
File metadata and controls
50 lines (50 loc) · 1.7 KB
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
<!DOCTYPE html>
<html>
<head>
<title>DataURL Method</title>
<link rel="stylesheet" href="styles.css">
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q919W0VJ1S"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-Q919W0VJ1S');
</script>
<body>
<div id="ntv_2103197"></div>
<script type="text/javascript">
(function(d) {
var params =
{
bvwidgetid: "ntv_2103197",
bvlinksownid: 2103197,
rows: 1,
cols: 5,
textpos: "right",
imagewidth: 150,
mobilecols: 2,
cb: (new Date()).getTime()
};
params.bvwidgetid = "ntv_2103197" + params.cb;
d.getElementById("ntv_2103197").id = params.bvwidgetid;
var qs = Object.keys(params).reduce(function(a, k){ a.push(k + '=' + encodeURIComponent(params[k])); return a},[]).join(String.fromCharCode(38));
var s = d.createElement('script'); s.type='text/javascript';s.async=true;
var p = 'https:' == document.location.protocol ? 'https' : 'http';
s.src = p + "://cdn.hyperpromote.com/bidvertiser/tags/active/bdvws.js?" + qs;
d.getElementById(params.bvwidgetid).appendChild(s);
})(document);
</script>
<div id="games">
<h2>Notes:</h2>
<p>Once you download the file, open it in a new tab. The tab created lasts forever, from there, it can be re-opened.</p>
<a id="download-link" href="pages/dataurl.txt" download="dataurl.txt" hidden></a>
<script>
function triggerDownload() {
document.getElementById('download-link').click();
}
</script>
</div>
</body>
</html>