Skip to content

Instantly share code, notes, and snippets.

@Rpsl
Created March 7, 2014 07:36
Show Gist options
  • Save Rpsl/9407048 to your computer and use it in GitHub Desktop.
Save Rpsl/9407048 to your computer and use it in GitHub Desktop.
(function() {
try {
var $_console$$ = console;
Object.defineProperty(window, "console", {
get: function() {
if ($_console$$._commandLineAPI)
throw "Sorry, for security reasons, the script console is deactivated on netflix.com";
return $_console$$
},
set: function($val$$) {
$_console$$ = $val$$
}
})
} catch ($ignore$$) {
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment