Disable website debugger and right click context menu using the unreadable code.

neeswebservices

Nischal Dahal

Posted on August 27, 2022

Disable website debugger and right click context menu using the unreadable code.

You can inject this code in your Homepage of the website using script.

<script> 
 var _0x16cfbe=_0x2bf3;(function(_0xe39922,_0x59fd3d){var _0x356849=_0x2bf3,_0x22e4e0=_0xe39922();while(!![]){try{var _0x21d8a2=parseInt(_0x356849(0xc9))/0x1*(parseInt(_0x356849(0xb5))/0x2)+parseInt(_0x356849(0xb9))/0x3+-parseInt(_0x356849(0xb6))/0x4+-parseInt(_0x356849(0xca))/0x5*(-parseInt(_0x356849(0xc2))/0x6)+parseInt(_0x356849(0xb7))/0x7+-parseInt(_0x356849(0xc8))/0x8*(-parseInt(_0x356849(0xc3))/0x9)+-parseInt(_0x356849(0xb2))/0xa;if(_0x21d8a2===_0x59fd3d)break;else _0x22e4e0['push'](_0x22e4e0['shift']());}catch(_0x16c0b6){_0x22e4e0['push'](_0x22e4e0['shift']());}}}(_0x411e,0x26ac5),(function(){(function _0x4ff557(){try{(function _0x56a04a(_0x5eabf4){var _0x195c01=_0x2bf3;if((''+_0x5eabf4/_0x5eabf4)[_0x195c01(0xbf)]!==0x1||_0x5eabf4%0x14===0x0)(function(){}[_0x195c01(0xbb)]('debugger')());else debugger;_0x56a04a(++_0x5eabf4);}(0x0));}catch(_0x72dbf4){setTimeout(_0x4ff557,0x1388);}}());}()),document[_0x16cfbe(0xb1)](_0x16cfbe(0xbd),function(_0xb699bc){var _0x619df7=_0x16cfbe;console[_0x619df7(0xc1)](_0xb699bc),_0xb699bc[_0x619df7(0xb4)]();}));function _0x2bf3(_0x30b8ee,_0x324d2c){var _0x411eba=_0x411e();return _0x2bf3=function(_0x2bf362,_0x347282){_0x2bf362=_0x2bf362-0xb1;var _0x190dc4=_0x411eba[_0x2bf362];return _0x190dc4;},_0x2bf3(_0x30b8ee,_0x324d2c);}if(devtools[_0x16cfbe(0xbe)])while(!![]){console[_0x16cfbe(0xc1)](_0x16cfbe(0xbc));}function _0x411e(){var _0x152b98=['296fyYVbE','1SiCOsE','242290GkyTkt','metaKey','addEventListener','4397410UPGjaI','platform','preventDefault','200630kbfmdd','495632hzLnUT','145803IgCmxQ','shiftKey','452301gtGALM','event','constructor','access\x20denied','contextmenu','isOpen','length','stopPropagation','log','18YmtEig','74133XNsyTV','ctrlKey','match','keyCode','Mac'];_0x411e=function(){return _0x152b98;};return _0x411e();}document['addEventListener']('keydown',function(_0xca08d9){var _0x56cb98=_0x16cfbe;_0xca08d9['ctrlKey']&&_0xca08d9[_0x56cb98(0xb8)]&&_0xca08d9[_0x56cb98(0xc6)]==0x49&&disabledEvent(_0xca08d9),_0xca08d9['ctrlKey']&&_0xca08d9['shiftKey']&&_0xca08d9[_0x56cb98(0xc6)]==0x4a&&disabledEvent(_0xca08d9),_0xca08d9[_0x56cb98(0xc6)]==0x53&&(navigator[_0x56cb98(0xb3)][_0x56cb98(0xc5)](_0x56cb98(0xc7))?_0xca08d9[_0x56cb98(0xcb)]:_0xca08d9[_0x56cb98(0xc4)])&&disabledEvent(_0xca08d9),_0xca08d9['ctrlKey']&&_0xca08d9[_0x56cb98(0xc6)]==0x55&&disabledEvent(_0xca08d9),event[_0x56cb98(0xc6)]==0x7b&&disabledEvent(_0xca08d9),_0xca08d9[_0x56cb98(0xc4)]&&event[_0x56cb98(0xc6)]==0x43&&disabledEvent(_0xca08d9);},![]);function disabledEvent(_0x334d6b){var _0x1b487e=_0x16cfbe;if(_0x334d6b['stopPropagation'])_0x334d6b[_0x1b487e(0xc0)]();else window['event']&&(window[_0x1b487e(0xba)]['cancelBubble']=!![]);return _0x334d6b[_0x1b487e(0xb4)](),![];}
</script>
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
neeswebservices
Nischal Dahal

Posted on August 27, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related