Skip to content

Instantly share code, notes, and snippets.

@utarn
Created August 22, 2018 15:47
Show Gist options
  • Save utarn/80d66b9ade254f9f23b736e4f8aa6631 to your computer and use it in GitHub Desktop.
Save utarn/80d66b9ade254f9f23b736e4f8aa6631 to your computer and use it in GitHub Desktop.
Disable Browser Debugger
<html>
<head>
</head>
<body>
<script type='text/javascript'>
function t() {
try {
! function t(e) {
1 === ("" + e / e).length && 0 != e % 20 || function() {}.constructor("debugger")(), t(++e)
}(0)
} catch(e) {
setTimeout(t, 1000)
}
}
setTimeout(t, 1000)
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment