MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / makeText

Function makeText

scripts/viewScriptsUsed.js:30–34  ·  view source on GitHub ↗
(tag, text)

Source from the content-addressed store, hash-verified

28 }
29
30 function makeText(tag, text) {
31 let t = makeTag(tag);
32 t.appendChild(d.createTextNode(text));
33 return t;
34 }
35 add(makeText("style", "iframe{width:100%;height:18em;border:1px solid;"));
36 add(makeText("h3", (d.title = "Scripts in " + location.href)));
37 for (let i = 0; i < s.length; ++i) {

Callers 1

viewScriptsUsed.jsFile · 0.70

Calls 1

makeTagFunction · 0.70

Tested by

no test coverage detected