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
30 lines
909 B
JSON
30 lines
909 B
JSON
[
|
|
{
|
|
"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"] }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|