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

Function grabHandler

RandomSexyPic/randomSexyPic.user.js:495–501  ·  view source on GitHub ↗
(img,add)

Source from the content-addressed store, hash-verified

493 img.style.cursor="grab";
494 }
495 function grabHandler(img,add){
496 if(add){
497 img.addEventListener("mousedown",mousedownHandler);
498 }else{
499 img.removeEventListener("mousedown",mousedownHandler);
500 }
501 }
502
503 function restoreImg(img){
504 hasFloatImg=false;

Callers 2

restoreImgFunction · 0.85
createImgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected