From 709b4ce3ce86cde4ea77b5f1fb8be055b32fb29c Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Fri, 11 Feb 2011 02:06:22 -0800 Subject: [PATCH] Takeoff, a Chrome extension to randomly load bookmarks --- LICENSE | 21 +++++++++++++++++++++ README.md | 23 +++++++++++++++++++++++ manifest.json | 9 +++++++++ takeoff.html | 42 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 manifest.json create mode 100644 takeoff.html diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cd5b253 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2009 - 2010 Ryan McGrath + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..d3ffd27 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +Takeoff +--------------------------------------------------------------------------- +I was up late one night, and my brain was in one of those modes where I needed +a new, really quick project to distract myself from what I was currently working +on. Sometimes that kind of thing helps the brain to get to a better solution. + +I noticed someone on Reddit by the name of [hokku was looking for an extension](http://www.reddit.com/r/AskReddit/comments/fjb0v/is_there_a_chrome_extension_that_can_set_my/) +to randomly choose a bookmark and load it on new tab/window instances. I took +20 minutes and knocked this together. It's open source, as I have zero interest +in maintaining it; feel free to learn from it to build your own, or fork it and +run with it as you see fit. MIT licensed. + + +To Install +---------------------------------------------------------------------------- +Download it, unzip it somewhere, load it up in your extensions tab by loading +an "unpacked" extension. + +Publicity +--------------------------------------------------------------------------- +Email: ryan [at] venodesigns dot net +Twitter: **[@ryanmcgrath](http://twitter.com/ryanmcgrath)** +Web: **[Veno Designs - Personal Site](http://venodesigns.net/)** diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..4957fa8 --- /dev/null +++ b/manifest.json @@ -0,0 +1,9 @@ +{ + "name": "Takeoff", + "version": "1.0", + "description": "Takeoff grabs a random entry from your Bookmarks collection and loads it when you start the browser or open a new tab.", + "chrome_url_overrides": { + "newtab": "takeoff.html" + }, + "permissions": ["tabs", "bookmarks"] +} diff --git a/takeoff.html b/takeoff.html new file mode 100644 index 0000000..d5d35eb --- /dev/null +++ b/takeoff.html @@ -0,0 +1,42 @@ + + + + + + + + +