MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / createButton

Function createButton

src/htmlutil.js:304–310  ·  view source on GitHub ↗
(name, id, text, oc)

Source from the content-addressed store, hash-verified

302};
303
304var createButton = function(name, id, text, oc) {
305 if (Helper.toType(id) === "Object") {
306 return createItemButton.apply(this, arguments);
307 } else {
308 return createSimpleButton.apply(this, arguments);
309 }
310};
311
312var createPosition = function(name, e, oc) {
313 var s = cr('div', e.name, e.id, 'pos1');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…