how to Disable print screen in web page using JavaScript
<p>i am developing a website, i want disable print screen so i searched in the net and i used a JavaScript to disable print screen. it worked fine but during loading of a page it asks for the permission to access the clipboard.</p>

<p>the pop-up message that it shows,</p>

<p>"do u want to allow this webpage to access your clipboard?
If you allow this, the webpage can access the clipboard and read information that you've cut or copied recently.. "</p>

<p>i want to avoid the above pop-up message and also disable print screen.
Below is my JavaScript code.:</p>

<pre><code>     function AccessClipboardData() {
        try {
            window.clipboardData.setData('text', "Print Disabled");
        } catch (err) {               
        }


    &lt;body&gt;
    &lt;script language="JavaScript" type="text/javascript"&gt;
        setInterval("AccessClipboardData()", 300);
        var ClipBoardText = "";

        if (window.clipboardData) {
            ClipBoardText = window.clipboardData.getData('text');
            ClipBoardText = window.clipboardData.clearData('text');
            if (ClipBoardText == "") {
                alert('Sorry you have to allow the page to access clipboard');
                document.all("divmaster").style.display = "none"
            }
        }       
    &lt;/script&gt;
&lt;/body&gt;
</code></pre>

<p>can please help to solve that print screen and clip board problem.</p>

<p>thanks in advance..</p>
