MCPcopy Create free account
hub / github.com/LeFroid/Viper-Browser / onWebChannelSetup

Function onWebChannelSetup

src/app/assets/javascript/GreaseMonkeyAPI.js:152–158  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

150 };
151
152 var onWebChannelSetup = function(cb) {
153 if (window._webchannel_initialized) {
154 cb();
155 } else {
156 document.addEventListener("_webchannel_setup", cb);
157 }
158 };
159
160 GM.getValue = function(name, defaultValue) {
161 return new Promise(function(resolve) {

Callers 1

GreaseMonkeyAPI.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected