Я установил пользовательский скрипт в Google Chrome от greasemonkey. Я хотел бы изменить значок, который отображается в Chrome> Параметры> Расширения. Как бы я это сделал? Я пытался изменить файл "manifest.json", но безрезультатно. У кого-нибудь есть идея?
Вот код:
{
"content_scripts": [ {
"exclude_globs": [ ],
"include_globs": [ "http://someurl/" ],
"js": [ "script.js" ],
"matches": [ "http://*/*", "https://*/*" ],
"run_at": "document_idle"
} ],
"converted_from_user_script": true,
"description": "",
"default-icon": "LogIn.png", <-- added this line here and placed png in same folder
"key": ".......=",
"name": "lmi",
"version": "1.0"
}
Вот мой обновленный код, но он все еще не работает: - (
{
"browser_action": {
"default_icon": "images/KeyLock48.png"
},
"content_scripts": [ {
"exclude_globs": [ ],
"include_globs": [ "http://someurl/" ],
"js": [ "script.js" ],
"matches": [ "http://*/*", "https://*/*" ],
"run_at": "document_idle"
} ],
"converted_from_user_script": true,
"description": "",
"icons": {
"128": "images/KeyLock128.png",
"16": "images/KeyLock16.png",
"32": "images/KeyLock32.png",
"48": "images/KeyLock48.png"
},
"key": "....",
"name": "logmi",
"version": "1.0"
}