Bookmarklets

show scripts
javascript:(function{function ajax(b){if(typeof XMLHttpRequest==="undefined"){XMLHttpRequest=function{try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(c){}throw new Error("This browser does not support XMLHttpRequest.")}}var a=new XMLHttpRequest;if(!b.url){throw new Error("You must define 'url'")}a.open("GET",b.url);a.onreadystatechange=function{if(a.readyState===4){if(a.status===200){var c=(a.responseXML?a.responseXML:a.responseText);if(typeof b.success==="function"){b.success(c,b)}}if(typeof b.after==="function"){b.after}}};a.send}var s=document.getElementsByTagName("SCRIPT"),tx="",sr=[],i,t;for(i=0;i<\/script> with(document.getElementById("t")){value=js_beautify(value);with(style){width="99%";height="99%";borderStyle="none";}};<\/script>');document.close}}})}};});