Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By sangeetharao on
Is there any module which will be useful to disable the right mouse click to prevent copy content on my drupal site.
if not how to achieve that requirement.
please guide me
with thanks and regards
sangeetha rao
Comments
disable right mouse click
I don't know of a module, but this can be accomplished with JavaScript.
That said, I wouldn't waste your time. It can easily be defeated.
What kind of content: text, images? There are ways to prevent hot-linking of images.
-------------------------------------------------------
"The sting in any rebuke is the truth." - Benjamin Franklin
Thank you, and i have one more.............
Benjamin Franklin, thank you for your suggestion.
Is there any module in drupal that will display the user ip addresses in the bloke area?
could you suggest that?
with regards
sangeetha rao
user's ip address
No need to be so formal. Just call me Ben. :-)
The user's IP address is stored in the sessions table.
You don't need a module; just do something like:
-------------------------------------------------------
"The sting in any rebuke is the truth." - Benjamin Franklin
Help
As a newbie.....
How can I use this on my Drupal site to keep people from saving images?
Can I just put this in the content?
cannot
No.
No you can't.
Sorry.
.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |
.dan. is the New Zealand Drupal Developer working on Government Web Standards
... sorrrrrrry, but ...
where does the code go - it is probably obvious for most - but not yet for me.
thanks for helping
using code
Just create a node or perhaps a block (wherever you want the output to appear), copy/paste the code and change the input filter to php. You'll also need to wrap the code in opening/closing php tags.
thanks
Great, thanks for the quick answer.
javascript
i tried javascripts to disable rightmouse whit full html enabled,,
but the rightmouse stay's able! for everybody i tested several scripts
Copy Prevention Module - Disable Right Click
https://drupal.org/project/copyprevention
This module is appropriate for you.
Sandip Choudhury
http://hostingultraso.com
Is this my posting?
Is this my posting?