use the 'icons' key for all examples

This commit is contained in:
Will Bamberg
2016-01-13 21:03:33 -08:00
parent b444166eed
commit 9190a850f1
37 changed files with 46 additions and 11 deletions

View File

@@ -1 +0,0 @@
The icon "beasts.png" is taken from the IconBeast Lite iconset, and used under the terms of its license (http://www.iconbeast.com/faq/), with a link back to the website: http://www.iconbeast.com/free/.

4
beastify/icons/LICENSE Normal file
View File

@@ -0,0 +1,4 @@
The icon "beasts-32.png" is taken from the IconBeast Lite iconset, and used under the terms of its license (http://www.iconbeast.com/faq/), with a link back to the website: http://www.iconbeast.com/free/.
The icon "beasts-64.png" is taken from Aha-Softs Free Retina iconset, and used under the terms of its license (http://www.aha-soft.com/free-icons/free-retina-icon-set/), with a link back to the website: http://www.aha-soft.com/.

View File

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -5,6 +5,10 @@
"name": "Beastify",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/beastify",
"icons": {
"32": "icons/beasts-32.png",
"64": "icons/beasts-64.png"
},
"applications": {
"gecko": {
@@ -17,7 +21,7 @@
],
"browser_action": {
"default_icon": "button/beasts.png",
"default_icon": "icons/beasts-32.png",
"default_title": "Beastify",
"default_popup": "popup/choose_beast.html"
},

1
borderify/icons/LICENSE Normal file
View File

@@ -0,0 +1 @@
The icons “border-32.png” and “border-64.png” are taken from the Google Material Design iconset, and used under the terms of the Creative Commons Attribution-ShareAlike license: http://creativecommons.org/licenses/by-sa/3.0/.

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

View File

@@ -5,6 +5,10 @@
"name": "Borderify",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/borderify",
"icons": {
"32": "icons/border-32.png",
"64": "icons/border-64.png"
},
"applications": {
"gecko": {

View File

@@ -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.

View File

@@ -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
});

View 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.

View File

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

View File

@@ -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": {

View File

@@ -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.

View File

@@ -4,7 +4,7 @@ function notify(message) {
console.log("background script received message");
chrome.notifications.create({
"type": "basic",
"iconUrl": chrome.extension.getURL("link.png"),
"iconUrl": chrome.extension.getURL("icons/link-48.png"),
"title": "You clicked a link!",
"message": message.url
});

View File

@@ -0,0 +1 @@
The "link-48.png" and "link-64.png" icons are taken from the Geomicons iconset, and are used here under the MIT license: http://opensource.org/licenses/MIT.

View File

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

View File

@@ -5,6 +5,10 @@
"name": "Notify link clicks",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks",
"icons": {
"48": "icons/link-48.png",
"64": "icons/link-64.png"
},
"applications": {
"gecko": {

View File

@@ -1 +0,0 @@
The icon "beasts.png" is taken from the IconBeast Lite iconset, and used under the terms of its license (http://www.iconbeast.com/faq/), with a link back to the website: http://www.iconbeast.com/free/.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 550 B

View File

@@ -0,0 +1,2 @@
The "page-32.png" and "page-64.png" icons are taken from the miu iconset created by Linh Pham Thi Dieu, and are used under the terms of its license: http://linhpham.me/miu/.

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 558 B

View File

@@ -5,6 +5,10 @@
"name": "open-my-page",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/open-my-page-button",
"icons": {
"32": "icons/page-32.png",
"64": "icons/page-64.png"
},
"applications": {
"gecko": {
@@ -17,7 +21,7 @@
},
"browser_action": {
"default_icon": "button/beasts.png"
"default_icon": "icons/page-32.png"
}
}

View File

@@ -0,0 +1,2 @@
The "message-32.png" and "message-64.png" icons are taken from the miu iconset created by Linh Pham Thi Dieu, and are used under the terms of its license: http://linhpham.me/miu/.

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

View File

@@ -5,6 +5,10 @@
"description": "Visit https://mdn.github.io/webextensions-examples/content-script-page-script-messaging.html for the demo. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#page-to-extension-messaging",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/page-to-extension-messaging",
"icons": {
"32": "icons/message-32.png",
"64": "icons/message-64.png"
},
"applications": {
"gecko": {

View File

@@ -1 +0,0 @@
The icon “choose_ua.png” is taken from Yummygums Iconsweets iconset, and is used under the terms of its license (http://yummygum.com/work/iconsweets).

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

View File

@@ -0,0 +1 @@
The "person-32.png" and "person-64.png" icons are taken from the Ionicons iconset (http://ionicons.com/), and are used here under the MIT license: http://opensource.org/licenses/MIT.

Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 716 B

View File

@@ -5,6 +5,10 @@
"name": "user-agent-rewriter",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/user-agent-rewriter",
"icons": {
"32": "icons/person-32.png",
"64": "icons/person-64.png"
},
"applications": {
"gecko": {
@@ -19,9 +23,9 @@
"background": {
"scripts": ["background.js"]
},
"browser_action": {
"default_icon": "button/choose_ua.png",
"default_icon": "icons/person-32.png",
"default_title": "Choose a user agent",
"default_popup": "popup/choose_ua.html"
}