Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to track if someone printed a web page?

I think it's not possible, but I want to make sure.

like image 698
lfx Avatar asked Mar 29 '10 12:03

lfx


People also ask

Does a website know if you printed it?

Because any website can track the keys you press using code. So they can trigger an event that records when somebody presses the print screen button on a page of their website.

Can you get tracked from a website?

Whenever you use the Internet, you leave a record of the websites you visit, along with each and every thing you click. To track this information, many websites save a small piece of data—known as a cookie—to your web browser. In addition to cookies, many websites can use your user accounts to track browsing activity.

Can a website tell if you save a page?

No. They might be able to detect the right click, but that is about it. Remember that someone can just drag the image to their desktop or file explorer rather than right click. Remember also that once the image had displayed in the browser, it has already downloaded.

Can you take a printout of Web page?

Open the web page. 2. Press Ctrl + A 3. Right click on the page and left click on “Print” 4.


2 Answers

One possible way would be to have a print CSS (<link rel="stylesheet" href="..." media="print" />), but have a server-side script pre-process it. Basically just a simple rewrite rule to rewrite the print.css, or whatever file you use, to be proxied to a script that will log the request to some database, and then finally output the actual CSS.

Of course this isn't a perfect method; if someone uses a print preview it'll also be processed by the script.

like image 104
reko_t Avatar answered Nov 07 '22 17:11

reko_t


You cannot, nothing is sent to the server when this happens, and no events are fired.

IE has onbeforeprint and onafterprint events you could use, but they are IE specific, so not counting them as a solution.

like image 35
Nick Craver Avatar answered Nov 07 '22 19:11

Nick Craver