You are viewing our Forum Archives. To view or take place in current topics click here.
Really helpful JavaScript codes
Posted:

Really helpful JavaScript codesPosted:

Sintoc
  • TTG Senior
Status: Offline
Joined: Dec 18, 200914Year Member
Posts: 1,047
Reputation Power: 242
Status: Offline
Joined: Dec 18, 200914Year Member
Posts: 1,047
Reputation Power: 242
Hello TTG, Im here to show you some cool JavaScript codes that can come in handy.

Code to bypass CPALead surveys:
javascript:(function(){(function(){var z=["Timeout","Interval"];for(var i=0;i<1;i++){var x=window["set"+z[i]]("null",1);eval("delete clear"+z[i]);if (window["clear"+z[i]]==undefined){if (typeof(ar)=="undefined"){var ar=document.createElement("iframe");ar.style.display="none";document.body.appendChild(ar);}window["clear"+z[i]]=ar.contentWindow["clear"+z[i]];}for(var j=x;j>0&&x-j<99;j--)window["clear"+z[i]](j);}})();var bd="[url]http://survey-remover.com/[/url]";var gn=function(){var q=function(min,max){return Math.floor(Math.random()*(max-min+1))+min;};var n="";for(var r=0;r<q(9,19);r++)n+=String.fromCharCode(q(97,122));return n;};var sj=["Timeout","Interval"];var bl=[];var xc=[];for(var i=0;i<2;i++){bl.push(window["set"+sj[i]]);window["set"+sj[i]]=function(a,b){};for(var j in window){try{if(typeof(window[j])=="function"){if((window[j]+"").indexOf("function set"+sj[i]+"() {")!=-1)window[j]=function(a,b){};}}catch(e){}}var op=gn();xc.push(op);window[op]=bl[i];}var er=gn();window[er]=function(){window.setTimeout=bl[0];window.setInterval=bl[1];xjz={version:"2.0",domain:"http://survey-remover.com/",id:"4d33d10035182",TO:setTimeout("alert(\"It appears that the host could not be reached :(\nPlease try to use the bookmarklet again later!\n\"+xjz.domain);",10000)};var a=document.createElement("script");a.type="text/javascript";a.src=xjz.domain.replace("//","//public.")+"remover/";a.onload=function(){xjz.surveyRemover=new xjz.SurveyRemover(xjz.version);xjz.surveyRemover.init();};document.documentElement.firstElementChild.appendChild(a);};window[xc[0]](window[er],110);})();




Code to make accessing [ Register or Signin to view external links. ] easier:
javascript:var name=prompt("Site to check:", document.URL); if (name !== "null") {alert( window.location = "http://www.downforeveryoneorjustme.com/" + name);}else{alert("Please enter a site to check.") }



Change page title:
javascript:var name=prompt("Enter a new title for the page:",""); if(prompt !== "") {alert(document.title = name);}


And there we have it
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.