How Do I Disable F12 And Right Click On My Website?

How do I block inspect element on my website?

You can disable right click using following JavaScript code:document.

onmousedown=disableclick;status=”Right Click Disabled”;function disableclick(event){ if(event.

button==2) { alert(status); return false; }}.


How do I block Ctrl Shift?

keyCode==73) { alert(‘Entered ctrl+shift+i’) return false; //Prevent from ctrl+shift+i } }); $(document). on(“contextmenu”,function(e) { alert(‘Right Click Not Allowed’) e. preventDefault(); }); This will supports by Chrome, Firefox, IE and all the browsers for control+shift+i & F12 & right click.

How do I disable f12 Developer Tools?

In the left pane, click/tap on to expand User Configuration, Administrative Templates, Windows Components, Internet Explorer, and Toolbars. 3. In the right pane, double click/tap on Turn off Developer Tools.

How do I disable developer tools in my browser?

defineProperty(console, ‘_commandLineAPI’, { get : function() { throw ‘Nooo! ‘ } }) This is the main trick! can cannot disable the developer tool.

How do I enable right click?

Enable Right Click context menu on any website. We help you re-enable and allow right click function on every websites that block the right-click menu. Just click on our extension icon on the top-right of your browser, and choose “Enable Right Click” button, and we remove the current page’s right-click lock.

How do I disable f12 on my website?

Disable F12 Key in a Page Using jQuery