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

Function removeProxy

src/inject/dynamic-theme/index.ts:801–804  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

799}
800
801function removeProxy() {
802 document.dispatchEvent(new CustomEvent('__darkreader__cleanUp'));
803 removeNode(document.head.querySelector('.darkreader--proxy'));
804}
805
806const cleaners: Array<() => void> = [];
807

Callers 1

removeDynamicThemeFunction · 0.85

Calls 1

removeNodeFunction · 0.90

Tested by

no test coverage detected