Permalink
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...
2 parents c12ff03 + fe10569 commit 1f9bcab64ca6c8c1444c2a8d5e7e99ed0d6b465f @marcelduran committed Mar 15, 2014
@@ -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>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -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://*/*"
]
-}
+}

0 comments on commit 1f9bcab

Please sign in to comment.