I think it's not possible, but I want to make sure.
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.
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.
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.
Open the web page. 2. Press Ctrl + A 3. Right click on the page and left click on “Print” 4.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With