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

Function addStyle

scripts/backup/m38u_detector.js:38–42  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

36
37 const mgmapi = {
38 addStyle(s) {
39 let style = document.createElement("style");
40 style.innerHTML = s;
41 document.documentElement.appendChild(style);
42 },
43 async getValue(name, defaultVal) {
44 return await (typeof GM_getValue === "function"
45 ? GM_getValue

Callers 1

m38u_detector.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected