MCPcopy Create free account
hub / github.com/4as/Chat-DeMod / getDeModState

Function getDeModState

Chat DeMod.user.js:151–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149
150 // DeMod state control
151 function getDeModState() {
152 var state = target_window.localStorage.getItem(DEMOD_KEY);
153 if (state == null)
154 return true;
155 return (state == "false") ? false : true;
156 }
157
158 function setDeModState(demod_on) {
159 target_window.localStorage.setItem(DEMOD_KEY, demod_on);

Callers 1

demod_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected