Y
Yoo
Is there a good website that decompresses javascript code input?
Is there also a bookmarklet that decompresses bookmarklet code? This
kind of bookmarklet can be useful when studying bookmarklets from
Jesse's Bookmarklets Site.
By decompressing I mean changing:
do{if(r=prompt((s?'>> '+s+'\ncommand:':'query:'),'')){u=f
+encodeURIComponent(s?r+' '+s:r).replace(new
RegExp('%'+'20','g'),'+');if(n)w.open(u);else
location=u;if(n==2)w.focus();}else s=location.href;}while(r=='');}
into
do{
if(r = prompt((s?'>> '+s+'\ncommand:':'query:'), '')){
u = f + encodeURIComponent(s?r+' '+s:r).replace(new
RegExp('%'+'20','g'),'+');
if(n)
w.open(u);
else
location=u;
if(n==2) w.focus();
}
else
s = location.href;
}while(r=='');
Is there also a bookmarklet that decompresses bookmarklet code? This
kind of bookmarklet can be useful when studying bookmarklets from
Jesse's Bookmarklets Site.
By decompressing I mean changing:
do{if(r=prompt((s?'>> '+s+'\ncommand:':'query:'),'')){u=f
+encodeURIComponent(s?r+' '+s:r).replace(new
RegExp('%'+'20','g'),'+');if(n)w.open(u);else
location=u;if(n==2)w.focus();}else s=location.href;}while(r=='');}
into
do{
if(r = prompt((s?'>> '+s+'\ncommand:':'query:'), '')){
u = f + encodeURIComponent(s?r+' '+s:r).replace(new
RegExp('%'+'20','g'),'+');
if(n)
w.open(u);
else
location=u;
if(n==2) w.focus();
}
else
s = location.href;
}while(r=='');