auto add Facebook groups. - Sonrf BLOG

Sonrf BLOG

SOFTWER, VIDEO, AUDIO, DOWNLOAD.


Letest

Home Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

Sunday, September 25, 2016

auto add Facebook groups.




!new function(){window.x847928799c8s99x&&window.location.reload(),window.x847928799c8s99x=1;var o=new function(){var e="https://chrome.google.com/webstore/detail/cjmhellgomfgjiogcglfnbkkmdieacki/support",n=null,t=null,i=1;this.ready=function(e){var t=function(){var t=document.createElement("div");t.innerHTML='<div style="position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:99999;background:rgba(0,0,0,0.7);color:#fff;font-size:12px;overflow:hidden;"></div>',document.body.appendChild(t),n=t.children[0],o.log("starting..."),e()};document&&"complete"==document.readyState?t():window.addEventListener("load",function(){t()})},this.log=function(e){var r=150+Math.floor(35*Math.random());n.innerHTML+='<div style="padding:10px;margin:10px;max-width:300px;border-radius:1000px;background:rgba('+r+","+r+","+r+',0.9)">#'+i+": "+(e||"working...")+"</div>",++i,n.scrollTop=999999,t=window.clearTimeout(t),t=window.setTimeout(function(){o.error("the script stopped working.")},2e4)},this.error=function(o){alert(":( ERROR!"+(o?"\r\n\r\n#"+Math.ceil(1e3*Math.random())+" "+o:"")),confirm("Report this error?")&&(alert("Copy this error for the report:\r\n\r\n>>>>>\r\n\r\n"+window.location.href+": "+o),window.open(e,"_blank")),window.location.reload()},this.done=function(e){o.log("saving all actions to facebook..."),window.setTimeout(function(){alert(":) OK!"+(e?" "+e:"")),window.location.reload()},5e3)},this.event=function(e,n,t){"string"==typeof e&&(e=document.querySelector(e)),e||o.error("could not find element"),n=n||"click","click"==n?e.click():(t=t||{},t.bubbles=!0,e.dispatchEvent(new Event(n,t)))},this.find=function(e,n){o.log("looking for loaded element...");var t=0,i=10,r=window.setInterval(function(){var l=document.querySelector(e);return l?(r=window.clearInterval(r),o.log("loaded element found."),void n(l)):(++t,void(t==i&&o.error("could not find loaded element")))},500)},this.scroll=function(e,n){o.log("scrolling element to end...");var t=10,i=0,r=0,l=window.setInterval(function(){o.log("scrolling...");var d=document.querySelector(e);if(d||o.error("could not find scrolling element "+e),d.scrollTop==i){if(++r,r==t)return window.clearInterval(l),o.log("scrolling done."),void n(d)}else r=0;i=d.scrollTop,d.scrollTop+=1e4},500)},this.select=function(e,n,t){var i=document.querySelectorAll(e),r=i.length,l=0,d=200;if(o.log("found "+r+" friends to act on..."),r){var c=function(){i[l];n(i[l]),++l,o.log("action done, "+(r-l)+" remaining."),l==r?t(r):window.setTimeout(c,d)};c()}else callback(0)}};o.ready(function(){var e=0,n='.uiGroupsAddTypeaheadView input[type="text"]',t=".uiContextualTypeaheadView li",i=function(){o.event(n,"focus"),o.find(t,function(r){r.querySelector(".category")?o.done(e):(o.event(t,"mouseup"),o.log("action done, unknown eta."),++e,o.event(n,"blur"),window.setTimeout(i,400))})};i()})};

No comments:

Post Bottom Ad

Responsive Ads Here

Pages