Skip to content

Instantly share code, notes, and snippets.

@swinton
Created November 2, 2011 14:02
Show Gist options
  • Select an option

  • Save swinton/1333708 to your computer and use it in GitHub Desktop.

Select an option

Save swinton/1333708 to your computer and use it in GitHub Desktop.
bookmarklet.js
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/naC26SvnD0ky?u='+encodeURIComponent(l.href)+'&t='+(new%20Date().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