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

Function makeText

scripts/viewStylesUsed.js:35–39  ·  view source on GitHub ↗
(tag, text)

Source from the content-addressed store, hash-verified

33 }
34
35 function makeText(tag, text) {
36 let t = makeTag(tag);
37 t.appendChild(d.createTextNode(text));
38 return t;
39 }
40 add(makeText("style", "iframe{width:100%;height:18em;border:1px solid;"));
41 add(makeText("h3", (d.title = "Style sheets in " + location.href)));
42 for (let i = 0; i < s.length; ++i) {

Callers 1

viewStylesUsed.jsFile · 0.70

Calls 1

makeTagFunction · 0.70

Tested by

no test coverage detected