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

Function checkKey

Easy offline/Easy offline.user.js:785–804  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

783 });
784
785 function checkKey(e){
786 switch(funcKey){
787 case "alt":
788 return e.altKey;
789 break;
790 case "ctrl":
791 return e.ctrlKey;
792 break;
793 case "shift":
794 return e.shiftKey;
795 break;
796 case "meta":
797 return e.metaKey;
798 break;
799 default:
800 return true;
801 break;
802 }
803 return false;
804 }
805
806 function include(things,obj) {
807 for (var i = things.length - 1; i >= 0; i--) {

Callers 2

getAllEnableUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected