MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / canNotify

Function canNotify

src/background/utils/update.js:159–164  ·  view source on GitHub ↗
(script)

Source from the content-addressed store, hash-verified

157}
158
159function canNotify(script) {
160 const allowed = getOption('notifyUpdates');
161 return getOption('notifyUpdatesGlobal')
162 ? allowed
163 : script.config.notifyUpdates ?? allowed;
164}
165
166function autoUpdate() {
167 const interval = getUpdateInterval();

Callers 1

doCheckUpdateFunction · 0.85

Calls 1

getOptionFunction · 0.90

Tested by

no test coverage detected