Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.18 KB | None | 0 0
  1. javascript: if (window.location.host == "www.probux.com") { function getAds() { Ads = document.getElementsByClassName('anc-style'); validAds = []; headers = []; for (var i = 0; i < Ads.length; i++) { header = Ads[i].firstChild.firstChild.firstChild.firstChild.firstChild; if (["anuncio-micr-title", "anuncio-dail-title", "anuncio-fixe-title"].indexOf(header.className) != -1) { Ads[i].display == "block"; validAds.push(Ads[i]); headers.push(header); } } return [validAds, headers]; } function proBuxClickAd() { if (validAds.length == 0) { throw "no ads available"; } headers[0].className = "anuncio-clicked-title"; windowAd = window.open("./viewad.php?a=" + validAds[0].getAttribute('url') + "&ne=1");windowAd.blur(); headers.shift(); validAds.shift(); adWindowInterval = setInterval(function () { e7 = true; if (!(/view-clock/.test(windowAd.document.getElementById("icone").src))) { windowAd.onclose = function () {}; windowAd.close(); clearInterval(adWindowInterval); proBuxClickAd(); } }, 2000); } validAds = getAds()[0]; headers = getAds()[1]; window.onkeypress = function (e) { if (e.keyCode == 113) { proBuxClickAd(); } };} else { if (["www.fusebux.com", "www.zapbux.com"].indexOf(window.location.host) != -1) { Ads = document.getElementsByClassName('blocos'); validAds = []; for (i = 0; Ads.length > i; i++) { if (getComputedStyle(Ads[i]).opacity == 1) { validAds.push(Ads[i]); } } function fuseBuxClickAd() { if (validAds === 0) { throw "no ads remains"; } validAds[0].style.background = '#f2f2f2'; validAds[0].style.border = '1px solid #eee'; validAds[0].style.opacity = '0.7'; validAds[0].style.filter = 'alpha(opacity=70)'; windowAd = eval(String(validAds[0].onclick).split(';')[4]);windowAd.blur(); validAds.shift(); readyInterval = setInterval(function () { fuseBuxWait = windowAd.document.getElementById("m_wait"); if (fuseBuxWait.style.display == 'none') { clearInterval(readyInterval); windowAd.document.hasFocus = function () { return true; }; adWindowInterval = setInterval(function () { fuseBuxConfirm = windowAd.document.getElementById("m_counter"); if (fuseBuxConfirm.style.display == 'none') { clearInterval(adWindowInterval); windowAd.onclose = function () {}; windowAd.close(); fuseBuxClickAd(); } }, 2000); } }, 2000); } window.onkeypress = function (e) { if (e.keyCode == 113) { fuseBuxClickAd(); } }; }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement