MCPcopy
hub / github.com/darkreader/darkreader / resetActivation

Method resetActivation

src/background/extension.ts:665–672  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

663 }
664
665 private static async resetActivation() {
666 await removeLocalStorage(['activationEmail', 'activationKey']);
667 await UIHighlights.restoreHighlights(['anniversary']);
668 if (__PLUS__) {
669 await Extension.changeSettings({previewNewestDesign: false});
670 }
671 Extension.reportChanges();
672 }
673
674 //----------------------
675 //

Callers

nothing calls this directly

Calls 3

removeLocalStorageFunction · 0.90
changeSettingsMethod · 0.65
reportChangesMethod · 0.45

Tested by

no test coverage detected