-
-
Save victorcastelan/b103397cda62fe56221e to your computer and use it in GitHub Desktop.
disable JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function(){ | |
var __x = Function.prototype.call; | |
Function.prototype.call = function( thisArg ){ | |
if( arguments[1] && arguments[1].indexOf && | |
arguments[1].indexOf( "with (__commandLineAPI" ) !== -1 ) { | |
throw "Sorry, Execution via Console has been disabled!"; | |
} | |
__x.apply( this, arguments ); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment