Release v2.4.0 — Erzwungene Einstellungen: about:config-Prefs bei jedem Start setzen
Neuer forcedPrefs-WebExtension-Experiment (Services.prefs) setzt beim Start globale Prefs (Startseite aus, Kartenansicht, nicht gruppiert, absteigend, 3-Spalten-Layout, nicht auto-gelesen) sowie pro Identität die Signatur-/ Antwort-Einstellungen. Pro Setting im Options-Dialog (⚙-Tab) abschaltbar. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015PZHd9vRsBiH8cKYdQo1Yv
This commit is contained in:
29
experiments/prefs/schema.json
Normal file
29
experiments/prefs/schema.json
Normal file
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
"namespace": "forcedPrefs",
|
||||
"description": "Read/write about:config preferences from a privileged parent context.",
|
||||
"functions": [
|
||||
{
|
||||
"name": "setPref",
|
||||
"type": "function",
|
||||
"async": true,
|
||||
"description": "Force an about:config pref to a fixed value. type is one of 'bool','int','string'.",
|
||||
"parameters": [
|
||||
{ "name": "name", "type": "string" },
|
||||
{ "name": "type", "type": "string", "enum": ["bool", "int", "string"] },
|
||||
{ "name": "value", "type": "any" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "getPref",
|
||||
"type": "function",
|
||||
"async": true,
|
||||
"description": "Read an about:config pref; returns null if unset.",
|
||||
"parameters": [
|
||||
{ "name": "name", "type": "string" },
|
||||
{ "name": "type", "type": "string", "enum": ["bool", "int", "string"] }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user