Permalink
Browse files

First Commit

  • Loading branch information...
1 parent 30efffa commit 77301528c18177cf7b6f37490d6e10c3aa1d011f @cleanforestco committed Feb 6, 2013
Showing with 38 additions and 1 deletion.
  1. +13 −1 README.md
  2. +3 −0 background.js
  3. +1 −0 bookmarklet.js
  4. BIN icon-128.png
  5. BIN icon-16.png
  6. BIN icon-48.png
  7. +21 −0 manifest.json
View
@@ -1,4 +1,16 @@
subtle-patterns-chrome-extension
================================
-Subtle Patterns Chrome Extension
+Subtle Patterns Chrome Extension
+https://github.com/cleanforestco/subtle-patterns-chrome-extension
+
+Based on the Subtle Patters Bookmarklet by bradjasper:
+https://github.com/bradjasper/subtle-patterns-bookmarklet
+
+How To Use:
+==========
+1. Download / Clone.
+2. In Google Chrome go to extensions settings: Menu > Tools > Extensions
+3. Tick "Developer mode" (top right).
+4. Click on the "Load unpacked extension..." checkbox and then select your unzipped folder.
+5. Job done! A new icon should now be visible in Google Chrome's extension area (top right).
View
@@ -0,0 +1,3 @@
+chrome.browserAction.onClicked.addListener(function(tab) {
+ chrome.tabs.executeScript(tab.id, {file: "bookmarklet.js"})
+});
View
@@ -0,0 +1 @@
+(function(){var newscript=document.createElement('script');newscript.type='text/javascript';newscript.async=true;newscript.src='http://bradjasper.com/subtle-patterns-bookmarklet/static/js/all.js?cb=' + Math.random();(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(newscript);})();
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,21 @@
+{
+ "background": {"scripts": ["background.js"]},
+ "browser_action": {
+ "default_icon": "icon-128.png",
+ "default_title": "SubtlePatterns Chrome Extension"
+ },
+ "name": "SubtlePatterns Chrome Extension",
+ "description": "SubtlePatterns Chrome Extension Based on the Subtle Patters Bookmarklet https://github.com/bradjasper/subtle-patterns-bookmarklet",
+ "homepage_url": "https://github.com/cleanforestco/subtle-patterns-chrome-extension",
+ "icons": {
+ "16": "icon-16.png",
+ "48": "icon-48.png",
+ "128": "icon-128.png" },
+ "permissions": [
+ "tabs",
+ "http://*/*",
+ "https://*/*"
+ ],
+ "version": "1.0",
+ "manifest_version": 2
+}

0 comments on commit 7730152

Please sign in to comment.