MCPcopy
hub / github.com/darkreader/darkreader / loadDetectorHints

Method loadDetectorHints

src/background/config-manager.ts:130–139  ·  view source on GitHub ↗
({local}: LocalConfig)

Source from the content-addressed store, hash-verified

128 }
129
130 private static async loadDetectorHints({local}: LocalConfig) {
131 const $config = await ConfigManager.loadConfig({
132 name: 'Detector Hints',
133 local,
134 localURL: CONFIG_URLs.detectorHints.local,
135 remoteURL: CONFIG_URLs.detectorHints.remote,
136 });
137 ConfigManager.raw.detectorHints = $config;
138 ConfigManager.handleDetectorHints();
139 }
140
141 private static async loadDynamicThemeFixes({local}: LocalConfig) {
142 const fixes = await ConfigManager.loadConfig({

Callers 1

loadMethod · 0.80

Calls 2

handleDetectorHintsMethod · 0.80
loadConfigMethod · 0.65

Tested by

no test coverage detected