Permalink
Browse files

better use of Chrome browser API, better icons in different sizes, up…

…dated README and manifest
  • Loading branch information...
1 parent be228c2 commit c9a584c38d2b4844e4f8e24b8b95044601037c12 @brandonjp committed Apr 23, 2011
Showing with 14 additions and 13 deletions.
  1. +5 −2 README
  2. +6 −8 background.html
  3. +3 −3 manifest.json
View
7 README
@@ -1,10 +1,13 @@
-* brandonjp - 201103141309
+* brandonjp - 201104230227
PappiSnap!
a very simple Chrome extension for Mac only that snaps the current webpage using the Mac app Paparazzi!
+PappiSnap! Instantly and easily create a PDF, PNG, JPG or TIF of the full webpage in your current tab. One click on the PappiSnap! icon sends the current url to the Mac-only Paparazzi! app by Nate Weaver - http://derailer.org/paparazzi/ NOTE: This extension (obviously) only works on Macs with Paparazzi!.app installed.
+
You most definitely need to download Paparazzi! before using my extension. Do that here: http://bit.ly/paparazziapp
I have no affiliation with the Paparazzi app, other than I might be quoted on Twitter for saying that I love it. I even used the Paparazzi icon without permission.
-Paparazzi! is copyright 2004–2009 Nate Weaver (Wevah). Based on original work by Johan Sørensen.
+Paparazzi! is copyright 2004–2009 Nate Weaver (Wevah). Based on original work by Johan Sørensen.
+
View
@@ -1,10 +1,8 @@
<script>
-chrome.browserAction.onClicked.addListener(function(tab) {
-
- var newURL = "paparazzi:"+tab.url;
- chrome.tabs.update(tab.id, {
- url: newURL
- });
-
-});
+ chrome.browserAction.onClicked.addListener(function(tab) {
+ var newURL = "paparazzi:"+tab.url;
+ chrome.tabs.update(tab.id, {
+ url: newURL
+ });
+ });
</script>
View
@@ -4,18 +4,18 @@
"description": "PappiSnap! Instantly & easily create full webpage PDF, PNG, JPG or TIF of the current tab. One click opens the Paparazzi! Mac app.",
"browser_action": {
"default_icon": "img/Paparazzi_icon.png",
- "default_title": "Paparazzi! This Page"
+ "default_title": "Paparazzi! This Page"
},
"background_page": "background.html",
"permissions" : [
"tabs",
"http://*/*",
- "https://*/*"
+ "https://*/*"
],
"icons": {
"16": "img/Paparazzi_16.png",
"32": "img/Paparazzi_32.png",
"48": "img/Paparazzi_48.png",
- "128": "img/Paparazzi_128.png"
+ "128": "img/Paparazzi_128.png"
}
}

0 comments on commit c9a584c

Please sign in to comment.