Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #112 from joecarney/master

New icon that looks a bit better on a Retina Mac running Chrome...
Thanks @joecarney
  • Loading branch information...
commit 1f9bcab64ca6c8c1444c2a8d5e7e99ed0d6b465f 2 parents c12ff03 + fe10569
Marcel Duran authored
8 src/chrome/background.html
View
@@ -11,7 +11,7 @@
!tab.url.indexOf('chrome-extension://')) {
alert('For security reasons Chrome extensions cannot ' +
'run content scripts at this page.');
-
+
return;
}
chrome.windows.create({
@@ -23,6 +23,12 @@
type: 'popup'
});
});
+ chrome.browserAction.setIcon({
+ path: {
+ "19": "icon19x19.png",
+ "38": "icon19x19@2x.png"
+ }
+ });
</script>
</body>
</html>
BIN  src/chrome/icon.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  src/chrome/icon19x19.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  src/chrome/icon19x19@2x.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  src/chrome/icon_color.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 src/chrome/manifest.json
View
@@ -10,26 +10,27 @@
},
"browser_action": {
"name": "YSlow",
- "default_icon": "icon.png"
+ "default_icon": {
+ "19": "icon38x19.png",
+ "38": "icon38x19@2x.png"
+ },
},
"background_page": "background.html",
"options_page": "options.html",
- "content_scripts": [
- {
- "matches": [
- "http://*/*",
- "https://*/*"
- ],
- "js": [
- "content.js",
- "yslow-chrome.js"
- ]
- }
- ],
+ "content_scripts": [{
+ "matches": [
+ "http://*/*",
+ "https://*/*"
+ ],
+ "js": [
+ "content.js",
+ "yslow-chrome.js"
+ ]
+ }],
"permissions": [
"tabs",
"cookies",
"http://*/*",
"https://*/*"
]
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.