feat(privacy+extension): publier la page /privacy et préparer les builds Chrome/Firefox Store
All checks were successful
CI / Lint, Unit Tests & Build (push) Successful in 5m49s
CI / Deploy production (on server) (push) Successful in 24s

- Nouvelle page /privacy bilingue (FR/EN) avec sélection par Accept-Language
  ou ?lang=, sections complètes (données collectées, IA/BYOK, RGPD, sécurité,
  contact). Style sombre aligné sur la landing (x.ai premium).
- Liens footer landing.footer.legal.* mis à jour vers /privacy dans les 15 locales.
- Extension Web Clipper rendue cross-browser :
  * background.js détecte chrome.sidePanel vs browser.sidebarAction
  * sidepanel.js ajoute un shim chrome<->browser pour Firefox
  * manifest.json inclut sidebar_action + browser_specific_settings.gecko
    + optional_host_permissions (Chrome les ignore)
- Script scripts/build-firefox.mjs pour produire un .xpi signé pour AMO,
  symétrique de build-chrome-store.mjs. Exclusion mutuelle des artefacts
  Chrome/Firefox pour éviter la cross-contamination.
- Branding corrigé : 176 occurrences de 'Momento' -> 'Memento' dans le
  bundle de traductions embarqué.
- Version bumpée 0.3.1 -> 0.4.0.
This commit is contained in:
Antigravity
2026-07-18 09:00:44 +00:00
parent 88a7d2ad0a
commit a7c15e9fc3
70 changed files with 5550 additions and 3464 deletions

View File

@@ -0,0 +1,65 @@
{
"manifest_version": 3,
"name": "__MSG_extName__",
"version": "0.4.0",
"description": "__MSG_extDescription__",
"default_locale": "en",
"permissions": [
"activeTab",
"scripting",
"storage",
"sidePanel",
"tabs"
],
"host_permissions": [
"https://memento-note.com/*",
"https://www.memento-note.com/*"
],
"optional_host_permissions": [
"https://*/*"
],
"background": {
"service_worker": "background.js"
},
"sidebar_action": {
"default_title": "__MSG_extActionTitle__",
"default_panel": "sidepanel.html",
"default_icon": {
"16": "icon-16.png",
"48": "icon-48.png",
"128": "icon-128.png"
}
},
"browser_specific_settings": {
"gecko": {
"id": "memento-clipper@memento-note.com",
"strict_min_version": "115.0"
}
},
"content_scripts": [
{
"matches": [
"https://memento-note.com/*",
"https://www.memento-note.com/*"
],
"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"
}
}