a simple Read Later button for Safari
This is a quick Instapaper extension I threw together for Safari 5, mainly to experiment with Safari's extension system, but also because I thought one should exist. It's completely unofficial, but should work until Marco's is released.
- Experimental keyboard shortcut support (currently Command-Option-R and Control-Option-R)
- Alert box if an error occurs posting to Instapaper
- Changed preferences dialog to reflect Instapaper naming guidelines
- Other minor bug-fixes
Many thanks to Jeroen Leenarts for contributions and support!
Installation takes a few extra steps, since Apple hasn't officially enabled extensions yet.
First, if you haven't already, you need to enable extensions. Once enabled, go to the downloads section here on GitHub and grab the latest version of the extension (currently 0.2). Double-click the resulting file, and Safari should offer to install it.
Once installed, you'll need to head into Safari's preferences and enter your account info.
Once installed, just click the Read Later button on any page. If you've entered your account info correctly, you should see a checkmark flash in the toolbar button. If your account into is incorrect or another error occurred, you'll see a thumbs-down, and an alert box will pop up letting you know what went wrong.
First, check your account info in the preferences; if that doesn't work, file a GitHub issue or drop me a line @rufo on Twitter or via e-mail.
Updates should automatically pop-up in the Safari Extension updater, but I've only tested this lightly.
- Potentially using an extension bar to display status information
- Grab selected text from page to pass to Instapaper
- Add command to contextual menu(s)
- Classier toolbar icons
- Other things...
If you'd like to implement any of the above (or any other features/bug fixes/etc.), fork, commit, and send a pull request. If you have other ideas, file a GitHub issue or get in touch with me @rufo or via e-mail.
Obviously, this wouldn't exist without Marco Arment's awesome Instapaper service. Thanks for the service and apps, Marco!
The tick and thumbs down icons are from Yusuke Kamiyamane's Fugue icons, and licensed under a Creative Commons Attribution 3.0 license.
Finally, this extension is © 2010 Rufo Sanchez, and is released under the MIT license, with contributions from Jeroen Leenarts.
Copyright © 2010 Rufo Sanchez
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.