forked from marcelduran/yslow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New icon that looks a bit better on a Retina Mac running Chrome...
- Loading branch information
Joseph Carney
authored and
Joseph Carney
committed
Mar 15, 2014
1 parent
c12ff03
commit fe10569
Showing
6 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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": "[email protected]" | ||
} | ||
}); | ||
</script> | ||
</body> | ||
</html> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,26 +10,27 @@ | |
}, | ||
"browser_action": { | ||
"name": "YSlow", | ||
"default_icon": "icon.png" | ||
"default_icon": { | ||
"19": "icon38x19.png", | ||
"38": "[email protected]" | ||
}, | ||
}, | ||
"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://*/*" | ||
] | ||
} | ||
} |