Files
Pierre MartinandClaude Opus 4.8 2e60bd08d8 feat: prefill the mairie form from the picked event
Wire the seam end to end: the background mirrors config.local.json into
storage (a content script would need web_accessible_resources, which would
expose the email to the mairie page), and the content script lays the computed
values into the form.

The layer is deliberately thin and untested: all the logic lives in
formulaire-valeurs.js. It never writes an empty value, never touches the image,
the honeypots or the CSRF tokens, and never submits: a human reads and sends.
A banner states what is left to do, and warns when a field could not be filled,
so that a silent failure stays diagnosable.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 14:30:47 +02:00

36 lines
1019 B
JSON

{
"manifest_version": 3,
"name": "Écho du Huit",
"version": "0.1.0",
"description": "Liste autonome agrégeant les infos de l'Atelier du Huit et de la ville de Cugnaux.",
"browser_specific_settings": {
"gecko": {
"id": "echo-du-huit@atelier-huit",
"strict_min_version": "127.0"
}
},
"background": {
"scripts": ["config.js", "background.js"]
},
"content_scripts": [
{
"matches": [
"https://www.ville-cugnaux.fr/mes-loisirs/associations/proposer-un-evenement-dans-lagenda/*"
],
"js": ["config.js", "formulaire-valeurs.js", "formulaire-mairie.js"],
"css": ["formulaire-mairie.css"],
"run_at": "document_idle"
}
],
"action": {
"default_title": "Ouvrir la liste de l'Écho du Huit",
"default_icon": "icons/icon.svg"
},
"permissions": ["storage"],
"host_permissions": [
"https://atelier-huit.frama.space/*",
"https://www.ville-cugnaux.fr/*"
],
"icons": { "48": "icons/icon.svg", "96": "icons/icon.svg" }
}