MCPcopy Index your code
hub / github.com/ClearURLs/Addon / init

Function init

core_js/popup.js:39–47  ·  view source on GitHub ↗

* Initialize the UI. *

()

Source from the content-addressed store, hash-verified

37*
38*/
39function init()
40{
41 setSwitchButton("globalStatus", "globalStatus");
42 setSwitchButton("tabcounter", "badgedStatus");
43 setSwitchButton("logging", "loggingStatus");
44 setSwitchButton("statistics", "statisticsStatus");
45 setHashStatus();
46 changeStatistics();
47}
48
49/**
50* Get the cleanedCounter and totalCounter value from the storage

Callers 1

popup.jsFile · 0.85

Calls 3

setHashStatusFunction · 0.85
changeStatisticsFunction · 0.85
setSwitchButtonFunction · 0.70

Tested by

no test coverage detected