-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBingPointer.html
42 lines (41 loc) · 1.82 KB
/
BingPointer.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
<!doctype html><html><head><title>Bing Point Generator</title>
<script>
function runner(ct){
var timer = setInterval(function(){go(ct);ct--},10000);
}
function go(cnt) {
document.getElementById("start").disabled = true;
document.getElementById("count").disabled = true;
console.log("Running.................................................................................");
if(cnt > 0){
var search = Math.floor(Math.random()*5000);
document.getElementById("bingIframe").src = "http://www.bing.com/search?q=" + search + "&adlt=strict";
document.getElementById("count").value = cnt;
}
else{
document.getElementById("start").value = "Done!";
document.getElementById("bingIframe").src = "http://www.bing.com/rewards/dashboard";
document.getElementById("count").removeAttribute("disabled");
document.getElementById("start").removeAttribute("disabled");
window.clearInterval(timer);
}
}
</script>
</head><body style="background:#000;color:#FFF">
<div id="interface" style="background:#000;position:static;width:170px;height:10%;margin-left:auto;margin-right:auto">
<input id="count" type="textbox" value="30" maxlength="2" onkeydown="if(event.keycode == 13) document.getElementById("Start!").click()" style="background-color:#444;color:#FFF;width:20px;border:2px solid #222" />
<input id="start" type="button" value="Start!" style="width:60px;" onclick="javascript:runner(document.getElementById('count').value)"></input>
<!--<input id="mobile" type="button" value="Mobile" style="width:80px" onclick="javascript:runner(20)"></input>-->
</div>
<div style="width:1120px;margin: 0 auto;">
<iframe
security="restricted"
sandbox="allow-forms allow-scripts"
id="bingIframe"
name="bingIframe"
src="http://www.bing.com/rewards/dashboard"
frameborder="1"
scrolling="yes"
style="width:1120px;height:630px;">
</iframe></div>
</body></html>