Le rollback complet de content.js, background.js et sidepanel.js vers la v0.3.1 (que tu confirmes fonctionner) règle la régression. Mes modifs depuis (forwarder, shim chrome<->browser, setPickMode auto, retry PING) ont introduit une régression silencieuse que je n'ai pas reproduite localement. Je remets le code qui marchait. Manifest = v0.3.1 + ajout sidebar_action + browser_specific_settings.gecko pour le build Firefox. Version bumpée 0.3.1 → 0.4.1.
54 lines
1.0 KiB
JSON
54 lines
1.0 KiB
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "__MSG_extName__",
|
|
"version": "0.4.1",
|
|
"description": "__MSG_extDescription__",
|
|
"default_locale": "en",
|
|
"permissions": [
|
|
"activeTab",
|
|
"scripting",
|
|
"storage",
|
|
"sidePanel",
|
|
"tabs"
|
|
],
|
|
"host_permissions": [
|
|
"http://localhost:3000/*",
|
|
"http://127.0.0.1:3000/*",
|
|
"https://memento-note.com/*",
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
"side_panel": {
|
|
"default_path": "sidepanel.html"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": [
|
|
"http://*/*",
|
|
"https://*/*"
|
|
],
|
|
"js": [
|
|
"content.js"
|
|
],
|
|
"run_at": "document_idle",
|
|
"all_frames": false
|
|
}
|
|
],
|
|
"action": {
|
|
"default_title": "__MSG_extActionTitle__"
|
|
},
|
|
"sidebar_action": {
|
|
"default_title": "__MSG_extActionTitle__",
|
|
"default_panel": "sidepanel.html"
|
|
},
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "memento-clipper@memento-note.com",
|
|
"strict_min_version": "115.0"
|
|
}
|
|
}
|
|
}
|