-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefaults.js
More file actions
37 lines (36 loc) · 1.32 KB
/
Copy pathdefaults.js
File metadata and controls
37 lines (36 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"use strict";
/**
* Skool Helper — Geteilte Defaults
*
* Single Source of Truth für alle Default-Werte. Vorher waren diese in
* background.js, content.js und options.js dreifach dupliziert (mit
* abweichendem Umfang in background.js — nur 4 von 10 Keys gesetzt).
*
* Wird in alle drei Kontexte geladen:
* - Service Worker: importScripts("defaults.js") in background.js
* - Content Script: manifest.json content_scripts.js: ["defaults.js","content.js"]
* - Options Page: <script src="defaults.js"></script> in options.html
*
* In allen drei Kontexten wird derselbe Schluessel im jeweiligen globalThis
* gesetzt, sodass abhaengiger Code via globalThis.SKOOL_HELPER_DEFAULTS
* darauf zugreifen kann.
*/
globalThis.SKOOL_HELPER_DEFAULTS = {
keywords: ["youtube", "bilder", "videos", "todo", "prompt"],
commentTemplates: [
"Super Beitrag! Danke fürs Teilen. 🙌",
"Richtig spannend – da hol ich mir Inspiration.",
"Starker Input! Probier ich gleich mal aus.",
"Nice, das passt gerade perfekt zu dem, woran ich arbeite.",
"Mega, danke für den Prompt/Workflow – notiere ich mir."
],
sidebarVisible: true,
notifyOnMatch: true,
languageFilter: "all",
membersOnly: false,
excludedKeywords: [],
excludedAuthors: [],
showTimer: false,
showEngagement: false,
checkForUpdates: true
};