Skip to content

Instantly share code, notes, and snippets.

@levity
Created December 4, 2010 06:00
Show Gist options
  • Save levity/727963 to your computer and use it in GitHub Desktop.
Save levity/727963 to your computer and use it in GitHub Desktop.
bookmarklet
javascript:function iprl5() {
var d=document,
z=d.createElement('scr'+'ipt'),
b=d.body,
l=d.location;
try {
if (!b) throw(0);
d.title='(Saving...)'+d.title;
z.setAttribute('src',l.protocol+'//www.instapaper.com/j/LIq7XKV1Bp1I?u='+encodeURIComponent(l.href)+'&t='+(new Date().getTime()));
b.appendChild(z);
} catch (e) {
alert('Please wait until the page has loaded.');
}
}
iprl5();void(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment