Merge branch 'master' into pr/32
This commit is contained in:
Коммит
6d0281d6f7
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "NASA Picture of the day viewer",
|
||||
"version": "0.0.0.1",
|
||||
"manifest_version": 2,
|
||||
"manifest_version": 3,
|
||||
"description": "A chromium extension to show NASA's Picture of the Day.",
|
||||
"icons": {
|
||||
"16": "icons/nasapod16x16.png",
|
||||
|
@ -9,7 +9,7 @@
|
|||
"48": "icons/nasapod48x48.png",
|
||||
"128": "icons/nasapod128x128.png"
|
||||
},
|
||||
"browser_action": {
|
||||
"action": {
|
||||
"default_popup": "popup/popup.html"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "NASA Picture of the day viewer",
|
||||
"version": "0.0.0.1",
|
||||
"manifest_version": 2,
|
||||
"manifest_version": 3,
|
||||
"description": "A chromium extension to show NASA's Picture of the Day.",
|
||||
"icons": {
|
||||
"16": "icons/nasapod16x16.png",
|
||||
|
@ -9,7 +9,7 @@
|
|||
"48": "icons/nasapod48x48.png",
|
||||
"128": "icons/nasapod128x128.png"
|
||||
},
|
||||
"browser_action": {
|
||||
"action": {
|
||||
"default_popup": "popup/popup.html"
|
||||
},
|
||||
"content_scripts": [
|
||||
|
@ -21,6 +21,9 @@
|
|||
}
|
||||
],
|
||||
"web_accessible_resources": [
|
||||
"images/*.jpeg"
|
||||
{
|
||||
"resources": ["images/*.jpeg"],
|
||||
"matches": ["<all_urls>"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ if (sendMessageId) {
|
|||
chrome.tabs.sendMessage(
|
||||
tabs[0].id,
|
||||
{
|
||||
url: chrome.extension.getURL("images/stars.jpeg"),
|
||||
url: chrome.runtime.getURL("images/stars.jpeg"),
|
||||
imageDivId: `${guidGenerator()}`,
|
||||
tabId: tabs[0].id
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче