Disable chrome console to prevent score tampering
<p>I have looked at every answer on this page as well as links and nothing seems to work I have a variable <code>score</code> which I can still change using the console so I need to fix that
<a href="https://stackoverflow.com/questions/21692646/how-does-facebook-disable-the-browsers-integrated-developer-tools/21692733#21692733">How does Facebook disable the browser&#39;s integrated Developer Tools?</a></p>

<p>Does anybody know a clear cut way to disable user using the console?</p>

<p>FYI this seems to be a popular answer i put this in as is and still nothing</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>(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$$) {
    }
})();</code></pre>
</div>
</div>
</p>