How to Unbind the Script on specific page
<p>I Guys i have a web application in MVC where we had not enabled Right click due to security reason and i want to Enable that Right click on singe page Below is the code </p>

<p>JavaScript for no rightclick &amp; copy Named : ContentCopy.js</p>

<pre><code>function mischandler()

    { return !1 }
    function mousehandler(n) {


        var e = isns ? n : event, t = isns ? e.which : e.button; return 2 == t || 3 == t ? !1 : void 0
    } var isctrl = !1; document.onkeyup = function (n) { return 17 == n.which ? (isctrl = !1, !1) : void 0 },
    document.onkeydown = function (n)
    { return 17 == n.which ? (isctrl = !0, !1) : 67 == n.which &amp;&amp; 1 == isctrl ? !1 : void 0 },
    document.onkeypress = function (n) { return 17 == n.which ? (isctrl = !0, !1) : 67 == n.which &amp;&amp; 1 == isctrl ? !1 : void 0 };
    var isns = "netscape" == navigator.appname ? 1 : 0;
    "netscape" == navigator.appname &amp;&amp; document.captureevents(event.mousedown || event.mouseup),
    document.oncontextmenu = mischandler, document.onmousedown = mousehandler, document.onmouseup = mousehandler;
</code></pre>

<p>I had Called this JS in Layout.</p>

<p>What i had tried :
    $(document).ready(function () {</p>

<pre><code>    $(document).undelegate("~/Content/js/ContentCopy.js");
    $(document).undelegate("mischandler");
    $('#BoxId').unbind("mischandler");
    $(document).removeEventListener("mischandler", mischandler);
});
</code></pre>

<p>Thanks in Advance </p>