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

Function removeStyle

src/inject/style.ts:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30export function removeStyle(): void {
31 removeNode(document.getElementById('dark-reader-style'));
32 document.documentElement.removeAttribute('data-darkreader-mode');
33}

Callers 2

responseHandlerFunction · 0.90
onMessageFunction · 0.90

Calls 1

removeNodeFunction · 0.90

Tested by

no test coverage detected