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

Function createFileInput

src/htmlutil.js:93–100  ·  view source on GitHub ↗
(name, id, oc)

Source from the content-addressed store, hash-verified

91};
92
93var createFileInput = function(name, id, oc) {
94 var input = crc('input', 'import', 'file', null, null, true);
95 if (!input.inserted) {
96 input.type = 'file';
97 if (oc) input.addEventListener("change", oc);
98 }
99 return input;
100};
101
102var createTextarea = function(title, i, oc) {
103 var s = cr('div', i.name, i.id, 'textarea');

Callers

nothing calls this directly

Calls 1

crcFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…