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

Function setPosition

scripts/content-scripts/ufs_global.js:285–292  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

283 return false;
284 },
285 setPosition(x, y) {
286 if (div) {
287 div.style.left = `${x}px`;
288 div.style.top = `${y}px`;
289 return true;
290 }
291 return false;
292 },
293 };
294}
295function deleteElements(selector, once) {

Callers 1

magnify_image.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected