Add png icons to support googles webextension api
|
@ -178,9 +178,9 @@ function changeIcon()
|
||||||
{
|
{
|
||||||
if(!checkOSAndroid()) {
|
if(!checkOSAndroid()) {
|
||||||
if(storage.globalStatus){
|
if(storage.globalStatus){
|
||||||
browser.browserAction.setIcon({path: "img/clearurls.svg"});
|
browser.browserAction.setIcon({path: "img/clearurls_128x128.png"});
|
||||||
} else{
|
} else{
|
||||||
browser.browserAction.setIcon({path: "img/clearurls_gray.svg"});
|
browser.browserAction.setIcon({path: "img/clearurls_gray_128x128.png"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
BIN
img/clearurls_128x128.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
img/clearurls_16x16.png
Normal file
After Width: | Height: | Size: 542 B |
BIN
img/clearurls_19x19.png
Normal file
After Width: | Height: | Size: 646 B |
BIN
img/clearurls_20x20.png
Normal file
After Width: | Height: | Size: 663 B |
BIN
img/clearurls_24x24.png
Normal file
After Width: | Height: | Size: 729 B |
BIN
img/clearurls_30x30.png
Normal file
After Width: | Height: | Size: 854 B |
BIN
img/clearurls_32x32.png
Normal file
After Width: | Height: | Size: 737 B |
BIN
img/clearurls_38x38.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
img/clearurls_48x48.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
img/clearurls_64x64.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
img/clearurls_96x96.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
img/clearurls_gray_128x128.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "ClearURLs",
|
"name": "ClearURLs",
|
||||||
"version": "1.5.3",
|
"version": "1.5.4",
|
||||||
"author": "Kevin R.",
|
"author": "Kevin R.",
|
||||||
"description": "Remove tracking elements form URLs.",
|
"description": "Remove tracking elements form URLs.",
|
||||||
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",
|
"homepage_url": "https://gitlab.com/KevinRoebert/ClearUrls",
|
||||||
|
@ -12,34 +12,32 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"icons": {
|
"icons": {
|
||||||
"16": "img/clearurls.svg",
|
"16": "img/clearurls_16x16.png",
|
||||||
"19": "img/clearurls.svg",
|
"19": "img/clearurls_19x19.png",
|
||||||
"20": "img/clearurls.svg",
|
"20": "img/clearurls_20x20.png",
|
||||||
"24": "img/clearurls.svg",
|
"24": "img/clearurls_24x24.png",
|
||||||
"30": "img/clearurls.svg",
|
"30": "img/clearurls_30x30.png",
|
||||||
"32": "img/clearurls.svg",
|
"32": "img/clearurls_32x32.png",
|
||||||
"38": "img/clearurls.svg",
|
"38": "img/clearurls_38x38.png",
|
||||||
"48": "img/clearurls.svg",
|
"48": "img/clearurls_48x48.png",
|
||||||
"64": "img/clearurls.svg",
|
"64": "img/clearurls_64x64.png",
|
||||||
"96": "img/clearurls.svg",
|
"96": "img/clearurls_96x96.png",
|
||||||
"128": "img/clearurls.svg"
|
"128": "img/clearurls_128x128.png"
|
||||||
|
|
||||||
},
|
},
|
||||||
"browser_action": {
|
"browser_action": {
|
||||||
"browser_style": true,
|
"browser_style": true,
|
||||||
"default_icon": {
|
"default_icon": {
|
||||||
"16": "img/clearurls.svg",
|
"16": "img/clearurls_16x16.png",
|
||||||
"19": "img/clearurls.svg",
|
"19": "img/clearurls_19x19.png",
|
||||||
"20": "img/clearurls.svg",
|
"20": "img/clearurls_20x20.png",
|
||||||
"24": "img/clearurls.svg",
|
"24": "img/clearurls_24x24.png",
|
||||||
"30": "img/clearurls.svg",
|
"30": "img/clearurls_30x30.png",
|
||||||
"32": "img/clearurls.svg",
|
"32": "img/clearurls_32x32.png",
|
||||||
"38": "img/clearurls.svg",
|
"38": "img/clearurls_38x38.png",
|
||||||
"48": "img/clearurls.svg",
|
"48": "img/clearurls_48x48.png",
|
||||||
"64": "img/clearurls.svg",
|
"64": "img/clearurls_64x64.png",
|
||||||
"96": "img/clearurls.svg",
|
"96": "img/clearurls_96x96.png",
|
||||||
"128": "img/clearurls.svg"
|
"128": "img/clearurls_128x128.png"
|
||||||
|
|
||||||
},
|
},
|
||||||
"default_title": "ClearURLs Add-on",
|
"default_title": "ClearURLs Add-on",
|
||||||
"default_popup": "html/popup.html"
|
"default_popup": "html/popup.html"
|
||||||
|
|