MCPcopy
hub / github.com/darkreader/darkreader / index.ts

File index.ts

src/background/index.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {canInjectScript, keepListeningToEvents} from '../background/utils/extension-api';
2import type {ColorScheme, DebugMessageBGtoCS, DebugMessageBGtoUI, DebugMessageCStoBG, ExtensionData, News, UserSettings} from '../definitions';
3import {getHelpURL, UNINSTALL_URL} from '../utils/links';
4import {emulateColorScheme, isSystemDarkModeEnabled} from '../utils/media-query';

Callers

nothing calls this directly

Calls 15

keepListeningToEventsFunction · 0.90
getHelpURLFunction · 0.90
setNewsForTestingFunction · 0.90
ASSERTFunction · 0.90
isSystemDarkModeEnabledFunction · 0.90
emulateColorSchemeFunction · 0.90
sendLogFunction · 0.90
makeChromiumHappyFunction · 0.90
listenFunction · 0.85
writeInstallationVersionFunction · 0.85
getURLMethod · 0.80
collectDataMethod · 0.80

Tested by

no test coverage detected