- build-chrome-store.mjs / build-firefox.mjs : host_permissions et content_scripts matches passent à http://*/* + https://*/* au lieu de memento-note.com uniquement. Un Web Clipper a besoin d'accéder à tous les sites ; le manifest Store bloquait l'injection du content script sur n'importe quel article. - extract-article.ts : refonte de cleanClipText en filtrage par ligne avec patterns élargis (mis à jour, temps de lecture, aujourd'hui à HH:MM, source - date, publié le, etc.). - Bump version 0.4.5 dans manifest, locales, README et builds.
50 lines
919 B
JSON
50 lines
919 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "__MSG_extName__",
|
|
"version": "0.4.5",
|
|
"description": "__MSG_extDescription__",
|
|
"default_locale": "en",
|
|
"permissions": [
|
|
"activeTab",
|
|
"scripting",
|
|
"storage",
|
|
"sidePanel",
|
|
"tabs"
|
|
],
|
|
"host_permissions": [
|
|
"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__",
|
|
"default_icon": {
|
|
"16": "icon-16.png",
|
|
"48": "icon-48.png",
|
|
"128": "icon-128.png"
|
|
}
|
|
},
|
|
"icons": {
|
|
"16": "icon-16.png",
|
|
"48": "icon-48.png",
|
|
"128": "icon-128.png"
|
|
}
|
|
} |