Click here to Skip to main content
14,699,605 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi Friends,

i have done sucessfully disable printscreen in IE only
now i want to disable in Firfox
any one knows please share with me

my javascript code is

function do_err()
        return true
function no_cp()


<!-- (c) 1998-2010 ArtistScope ( -->
<SCRIPT SRC="no-printscreen.js"></SCRIPT>
        This printscreen test file

i m waiting for u r valuable replays

Updated 20-Jul-11 21:33pm
R. Giskard Reventlov 21-Jul-11 2:58am
Why would you care if a user wants to print the page? If they really wanted to they could do a screen grab or just save the page locally, remove your bit of script and print it anyway.

1 solution

You can't. How ridiculous. Any js you write, a hacker can disable. Forget about it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900