MCPcopy Index your code
hub / github.com/darkreader/darkreader / getConnectionMessage

Method getConnectionMessage

src/background/extension.ts:468–471  ·  view source on GitHub ↗
(tabURL: string, url: string, isTopFrame: boolean, topFrameHasDarkTheme?: boolean)

Source from the content-addressed store, hash-verified

466 }
467
468 private static async getConnectionMessage(tabURL: string, url: string, isTopFrame: boolean, topFrameHasDarkTheme?: boolean) {
469 await Extension.loadData();
470 return Extension.getTabMessage(tabURL, url, isTopFrame, topFrameHasDarkTheme);
471 }
472
473 private static async loadData() {
474 Extension.init();

Callers

nothing calls this directly

Calls 1

loadDataMethod · 0.80

Tested by

no test coverage detected