Skip to content

Instantly share code, notes, and snippets.

@fancyremarker
Created December 26, 2012 04:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fancyremarker/4377944 to your computer and use it in GitHub Desktop.
Save fancyremarker/4377944 to your computer and use it in GitHub Desktop.
Instapaper Chrome extension converted from bookmarklet via @peterlegierski's plugin
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.executeScript(tab.id, {file: "bookmarklet.js"})
});
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/OhrhewKmXt3s?u='+encodeURIComponent(l.href)+'&t='+(new Date().getTime()));b.appendChild(z);}catch(e){alert('Please wait until the page has loaded.');}}iprl5();void(0)
{
"background": {"scripts": ["background.js"]},
"browser_action": {
"default_icon": "icon-128.png",
"default_title": "Instapaper"
},
"name": "Instapaper",
"description": "Read Later (Send To Instapaper)",
"homepage_url": "http://www.instapaper.com/",
"icons": {
"16": "icon-16.png",
"48": "icon-48.png",
"128": "icon-128.png" },
"permissions": [
"tabs",
"http://*/*",
"https://*/*"
],
"version": "0.1",
"manifest_version": 2
}
@fancyremarker
Copy link
Author

Instapaper Chrome extension converted from bookmarklet via @peterlegierski's plugin. Full extension archive, including icons, here (instapaper.zip). To install:

  1. Unzip instapaper.zip
  2. Go to "Preferences" (⌘-,) in Chrome
  3. Go to the "Extensions" tab
  4. Check "Developer mode"
  5. Click "Load unpacked extension..."

@fancyremarker
Copy link
Author

Note: Icons are from Instapaper's press kit. This plugin is in no way affiliated with Instapaper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment