gtrenn9
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to prevent pages being saved as PDF?Hi, thanks for your reply.
Maybe specifically blocking PDF extensions isn’t possible, but I do see some websites that can block out the specific content from being picked up by print functions, Printfriendly, etc.
For example, if I use Printfriendly on the website, it will only pick up some images and other text, but not the desired text. Same goes for Ctrl+p.
So it seems as if there’s a way to hide the desired text from being picked up by the Printfriendly, and only presenting the undesirable text to Printfriendly/Ctrl+P/etc.
I’ve also tried adding
@media print {
.price_match_no_print {
display:none !important;
}
}
to the style sheet and class=”no-print” to the html. This only prevents ctrl+p from working, but PrintFriendly still works. It looks as if I need to hide the content from PrintFriendly somehow.I would block their IP, but it seems very flimsy as it could change at any time. It’d be great to find a more solid way, but if not that’s a great suggestion I’ll try out. Also, I’m aware a determined person can still get what they want, it’s just preventing 90% of the easy grabs. That’s fine with me.
Thanks again for your help, I appreciate it.