MCPcopy Create free account
hub / github.com/NobyDa/Script / notify

Function notify

Surge/JS/Bili_Auto_Regions.js:269–273  ·  view source on GitHub ↗
(title, subtitle, message)

Source from the content-addressed store, hash-verified

267 }
268 })();
269 const notify = (title, subtitle, message) => {
270 console.log(`${title}\n${subtitle}\n${message}`);
271 if (isQuanX) $notify(title, subtitle, message);
272 if (isHTTP) $notification.post(title, subtitle, message);
273 }
274 const read = (key) => {
275 if (isQuanX) return $prefs.valueForKey(key);
276 if (isHTTP) return $persistentStore.read(key);

Callers

nothing calls this directly

Calls 2

logMethod · 0.45
postMethod · 0.45

Tested by

no test coverage detected