MCPcopy Create free account
hub / github.com/Revadike/Misc-JavaScript-Projects / doubleClick

Function doubleClick

DIM - Auto Ghost Switcher.user.js:101–108  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

99 }
100
101 function doubleClick(elem) {
102 var event = new MouseEvent("dblclick", {
103 view: unsafeWindow,
104 bubbles: true,
105 cancelable: true
106 });
107 elem.dispatchEvent(event);
108 }
109
110 function initGhostSwitcher() {
111 console.log("DIM ready");

Callers 1

equipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected