Created
March 14, 2013 12:18
-
-
Save booyaa/5160906 to your computer and use it in GitHub Desktop.
being nosy and peeking at marco's awesome instapaper bookmarklet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/QtAlSskhaIQL?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