MCPcopy
hub / github.com/leaningtech/webvm / tryPlausible

Function tryPlausible

src/lib/plausible.js:3–6  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

1// Some ad-blockers block the plausible script from loading. Check if `plausible`
2// is defined before calling it.
3export function tryPlausible(msg) {
4 if (self.plausible)
5 plausible(msg)
6}

Callers 3

setApiKeyFunction · 0.90
sendMessagesFunction · 0.90
addMessageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected