mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 23:08:33 +02:00
use the 'icons' key for all examples
This commit is contained in:
@@ -1 +0,0 @@
|
||||
The "link.png" icon is taken from the Geomicons iconset, and is used here under the MIT license: http://opensource.org/licenses/MIT.
|
||||
@@ -6,7 +6,7 @@ function notify(message) {
|
||||
var content = chrome.i18n.getMessage("notificationContent", message.url);
|
||||
chrome.notifications.create({
|
||||
"type": "basic",
|
||||
"iconUrl": chrome.extension.getURL("link.png"),
|
||||
"iconUrl": chrome.extension.getURL("icons/link-48.png"),
|
||||
"title": title,
|
||||
"message": content
|
||||
});
|
||||
|
||||
1
notify-link-clicks-i18n/icons/LICENSE
Normal file
1
notify-link-clicks-i18n/icons/LICENSE
Normal file
@@ -0,0 +1 @@
|
||||
The "link-48" and "link-64" icons are taken from the Geomicons iconset, and are used here under the MIT license: http://opensource.org/licenses/MIT.
|
||||
|
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 596 B |
BIN
notify-link-clicks-i18n/icons/link-64.png
Normal file
BIN
notify-link-clicks-i18n/icons/link-64.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 801 B |
@@ -5,6 +5,10 @@
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"version": "1.0",
|
||||
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks-i18n",
|
||||
"icons": {
|
||||
"48": "icons/link-48.png",
|
||||
"64": "icons/link-64.png"
|
||||
},
|
||||
|
||||
"applications": {
|
||||
"gecko": {
|
||||
|
||||
Reference in New Issue
Block a user