Thursday, 7 June 2012

How I Restrict Printing and Text Copy from my web page?

How I Restrict Printing and Text Copy from my web page?
Hey,
I am developing web site for my client and in his requirement he doesn’t want to allow his web site user to copying any data and images from his site and also restricting printing the web page or any document on his site. But the problem is I am not able to do it, for that I want your help please suggests me How I Restrict Printing and Text Copy from my web page?
Thank you in advance.
Reply With Quote
#2
Old 25-01-2010
Techno01's Avatar
Techno01 Techno01 is offline
Member

Join Date: Apr 2008
Posts: 2,268
Re: How I Restrict Printing and Text Copy from my web page?
I give you better solution for that because I use this technique in my college web site project, in my project I also Restrict Printing and Text Copy from my web page and because of this I get good marks also and I like to share with use, use following code:

Quote:

Reply With Quote
#3
Old 25-01-2010
johnson22's Avatar
johnson22 johnson22 is offline
Member

Join Date: May 2008
Posts: 2,111
Re: How I Restrict Printing and Text Copy from my web page?
Hey use following java script in your web page, it’s great java script I use this on my live web page, and I get positive result of that I able to Restrict Printing and Text Copy from my web page.
Here is a no text select script:

Quote:


use this script for disabling the right click.

Reply With Quote
#4
Old 25-01-2010
Trio's Avatar
Trio Trio is offline
Member

Join Date: May 2008
Posts: 2,752
Re: How I Restrict Printing and Text Copy from my web page?
Use this short and sweet code for restrict the printing of the web page, you have to copy past or type in your web page header part, I use maximum of java script but it doesn’t give me exactly what I want. Then I use this code and I it really works.
Quote:



using this code if suppose anyone want to print web page then it prints the blank.htm instead.
Reply With Quote
#5
Old 25-01-2010
deveritt's Avatar
deveritt deveritt is offline
Member

Join Date: Apr 2008
Posts: 2,528
Re: How I Restrict Printing and Text Copy from my web page?
I think you have to use this code because it’s very short and I think every time you have to use short but useful code if you write maximum line code then it will take long time to compile and it’s not good for your web site when you try to open it, that it will take long time to load for that you have to use following code in your site.

Quote:


Testing



your texts here

Test Page



No comments:

Post a Comment