少し前に、クロムで使用するカスタム .json テーマを作成しました。とにかく、私の問題は「manifest_version 2」のことです。以下の現在のコードは、拡張機能に移動して「パッケージ化されていない拡張機能を読み込む」をクリックすると常に機能し、テーマを完全に適用しますが、今日まで有効ではなくなり、テーマを Chrome に適用できません。私が考えることができる唯一のことは、クロムが更新されたと推測しているということですか?
補足: json ファイルの語彙の編集や知識、またはこのコーディングのしくみについては、少し迷っています。それで、誰かができるなら、このmanifest_version 2で動作するように、以前に動作していた以下のコードを変更する必要があることを、ほぼ素人で具体的に教えてください。基本的に、テーマをクロムに適用して機能させるにはどうすればよいですか。
ありがとうございました!
これは以前に機能していた .json コードです
{
"version": "1.0",
"name": "02 Lancer Dark World",
"theme": {
"images" : {
"theme_frame" : "images/frame.png",
"theme_toolbar" : "images/toolbar.png",
"theme_ntp_background" : "images/background.png",
"theme_tab_background" : "images/tab.png"},
"colors" : {
"ntp_link": [25,110,172],
"ntp_text": [49,143,255],
"ntp_section_link": [89,4,255],
"ntp_section_text": [25 , 110 , 172],
"ntp_background": [10 , 17 , 27],
"frame": [10 , 17 , 27],
"toolbar": [10 , 17 , 27],
"tab_text": [93,205,255],
"tab_background_text": [82 , 127 , 204],
"bookmark_text": [49,143,255],
"button_background": [5, 23, 37]
},
"tints" : {
"buttons" : [0.6, 0.9, 0.4],
"frame_inactive": [0.5, 0.6, 0.1],
"frame_incognito_inactive": [0.5, 0.6, 0.1]
},
"properties" : {
"ntp_background_alignment" : "top",
"ntp_background_repeat": "no-repeat"
}
}
}