none
Disabled Developer mode RRS feed

  • Question

  • How can we restrict developer mode. I disabled  right click , i also disabled f12 and control + swift + I 

    by below code :

    $(document).bind("contextmenu",function(e){
      return false;
        });
        $(document).keydown(function (event) {
        if (event.keyCode == 123) { // Prevent F12
            return false;
        } else if (event.ctrlKey && event.shiftKey && event.keyCode == 73) { // Prevent Ctrl+Shift+I        
            return false;
        }
    });

    but still user can go developer mode from chrome setting -> more tools -> Developer mode.

    Is there any way for this issue??



    Shiv Sharma

    Friday, July 3, 2020 8:17 AM

All replies