forked from holoco/holoco.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi.htm
33 lines (30 loc) · 1017 Bytes
/
i.htm
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
<script type="text/javascript">
function qs(search_for) {
var query = window.location.search.substring(1);
var parms = query.split('?');
return parms;
}
function show_image(src, width, height) {
var img = document.createElement("showImage");
img.src = src;
img.width = width;
img.height = height;
// This next line will just add it to the <body> tag
document.body.appendChild(img);
}
address=qs("?");
myurl="https://chainz.cryptoid.info/bay/address.dws?"+address+".htm";
document.write('<A HREF="' + "https://www.bitbay.market" + '"><IMG SRC="' + "Explain.png" + '" border="0"></a>')
function prepareFrame(qurl) {
var ifrm = document.createElement("iframe");
ifrm.setAttribute("src", qurl);
ifrm.style.width = "100%";
ifrm.style.height = "480px";
document.body.appendChild(ifrm);
}
//document.write(myurl);
prepareFrame(myurl);
document.getElementById("showImage").onclick = function() {
window.location="bitbay.market";
}
</script>