Skip to content

Instantly share code, notes, and snippets.

@AgoristRadio
Created March 21, 2013 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AgoristRadio/5211012 to your computer and use it in GitHub Desktop.
Save AgoristRadio/5211012 to your computer and use it in GitHub Desktop.
Bookmarklet Examples #bookmarklets
# Instapaper
javascript:function%20iprl5(){var%20d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location;try{if(!b)throw(0);d.title='(Saving...)%20'+d.title;z.setAttribute('src',l.protocol+'//www.instapaper.com/j/L26o1hPEPERe?u='+encodeURIComponent(l.href)+'&t='+(new%20Date().getTime()));b.appendChild(z);}catch(e){alert('Please%20wait%20until%20the%20page%20has%20loaded.');}}iprl5();void(0)
javascript:function
%
20
iprl5()
{
var %
20
d = document, z = d.createElement('scr' + 'ipt'), b = d.body, l = d.location;
try {
if (!b)throw(0);
d.title = '(Saving...)%20' + d.title;
z.setAttribute('src', l.protocol + '//www.instapaper.com/j/L26o1hPEPERe?u=' + encodeURIComponent(l.href) + '&t=' + (new % 20
Date().getTime()
))
;
b.appendChild(z);
} catch (e) {
alert('Please%20wait%20until%20the%20page%20has%20loaded.');
}
}
iprl5();
void(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment