MCPcopy Index your code
hub / github.com/hoothin/UserScripts / createSignDiv

Method createSignDiv

Pagetual/pagetual.user.js:9249–9258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9247 }
9248
9249 createSignDiv() {
9250 let signDiv = document.createElement("div");
9251 this.setImportant(signDiv, "position", "absolute");
9252 this.setImportant(signDiv, "pointer-events", "none");
9253 this.setImportant(signDiv, "z-index", "2147483645");
9254 this.setImportant(signDiv, "background", "rgba(120, 170, 210, 0.6)");
9255 this.setImportant(signDiv, "transition", "all 0.15s ease-out");
9256 this.setImportant(signDiv, "box-shadow", "rgb(0 0 0) 0px 0px 3px 0px");
9257 return signDiv;
9258 }
9259
9260 adjustSignDiv(div, target) {
9261 let rect = target.getBoundingClientRect();

Callers 2

initMethod · 0.95
checkInputSelectorMethod · 0.80

Calls 1

setImportantMethod · 0.95

Tested by

no test coverage detected