More actions
No edit summary |
No edit summary |
||
Line 307: | Line 307: | ||
const p = document.createElement("div"); | const p = document.createElement("div"); | ||
(p.style.background = a.bgColor), (p.style.flex = "1"), (p.style.textAlign = "left"), (p.style.padding = f ? "15px" : "30px"), (p.style.overflow = "auto"), n.appendChild(p), null !== document.body && document.body.appendChild(c); | (p.style.background = a.bgColor), (p.style.flex = "1"), (p.style.textAlign = "left"), (p.style.padding = f ? "15px" : "30px"), (p.style.overflow = "auto"), n.appendChild(p), null !== document.body && document.body.appendChild(c); | ||
} | } | ||
document.addEventListener("np.detect", (b) => { | document.addEventListener("np.detect", (b) => { | ||
b.detail.blocking ? setTimeout(d, a.delay) : c && c.parentNode && c.parentNode.removeChild(c); | b.detail.blocking ? setTimeout(d, a.delay) : c && c.parentNode && c.parentNode.removeChild(c); |
Revision as of 11:58, 20 November 2022