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

Function checkLimit

Picviewer CE+/Picviewer CE+.user.js:26409–26418  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

26407 };
26408
26409 function checkLimit(e){
26410 if(e.button!=button ||
26411 e.altKey!=alt ||
26412 e.ctrlKey!=ctrl ||
26413 e.shiftKey!=shift ||
26414 e.metaKey!=meta){
26415 return false;
26416 }
26417 return true;
26418 }
26419
26420 function click(e){
26421 if(!checkLimit(e))return;

Callers 2

clickFunction · 0.70
clickAFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected