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

Function stop

src/inject/utils/dom.ts:163–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 };
162
163 const stop = () => {
164 // TODO: remove type cast after dependency update
165 clearTimeout(timeoutId!);
166 observer.disconnect();
167 restore.cancel();
168 };
169
170 const skip = () => {
171 observer.takeRecords();

Callers 2

watchForNodePositionFunction · 0.70
updateParentFunction · 0.70

Calls 1

disconnectMethod · 0.80

Tested by

no test coverage detected