Add chrome polyfill and proper icons

This commit is contained in:
Jeremy Dormitzer 2018-01-08 10:46:13 -05:00
parent a981895cb5
commit 31b3076cf6
No known key found for this signature in database
GPG Key ID: 04F17C0F5A32C320
7 changed files with 16 additions and 5 deletions

9
ext/browser-polyfill.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.2 KiB

BIN
ext/icons/icon128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
ext/icons/icon16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

BIN
ext/icons/icon48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
ext/icons/icon96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -4,22 +4,25 @@
"version": "0.1.0",
"description": "Shows conversations on Hacker News about the current web page",
"icons": {
"48": "icons/icon.svg",
"96": "icons/icon.svg"
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"96": "icons/icon96.png",
"128": "icons/icon128.png"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": [
"browser-polyfill.min.js",
"content.js"
]
}
],
"background": {
"scripts": ["background.js"]
"scripts": ["browser-polyfill.min.js", "background.js"]
},
"browser_action": {
"default_icon": "icons/icon.svg",
"default_icon": "icons/icon48.png",
"default_title": "Looped In"
},
"content_security_policy": "script-src 'self'; object-src 'self'; connect-src 'self' http://hn.algolia.com"