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

Function lockAgain

scripts/auto_lockWebsite.js:241–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 const idStyle = id + "-style";
240
241 function lockAgain() {
242 let overlay = document.querySelector(`#${id}`);
243 let style = document.querySelector(`#${idStyle}`);
244 if (!overlay || !style) return;
245 overlay.style.top = "0";
246 style.disabled = false;
247 }
248
249 const exist = document.getElementById(id);
250 if (exist) {

Callers 1

lockCurrentWebsiteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected