Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How to disable right Click in Joomla website?

Featured Lock Resolved Task
How to disable right Click in Joomla website?

10 Answers

Nait

More than a month ago #Permalink
Hello,

loo here, the code works 99.9% perfectly if you want simply disable the right click on everything, including text copy - https://www.itoctopus.com/how-to-prevent-right-click-in-joomla/comment-page-1#comment-42558.

A bonus - no external library loaded, a simple included script. Enjoy :-)

Paul Frankowski - Staff

More than a month ago #Permalink
Even which all those plugins, I still can see HTML code using Code Inspector
So for me, it's a wooden wall only.

Nait

More than a month ago #Permalink
Yeah, sure and agree, the same situation when you want to download an Instagram image or whatever - you can if you know how to. But for a basic it may be a first aid and it takes much more time for those who want to copy/download.

Haven´t found a total solution for this, if any idea, share it, Paul, would be useful :-)

Paul Frankowski - Staff

More than a month ago #Permalink
60sec more doesn't make a difference :D

Nait

More than a month ago #Permalink
As I wrote - I agree with a "wooden wall", but 95% of web users don´t even know about the term "Code inspector" and what for and how to use it :-)

Have a great day!

Paul Frankowski - Staff

More than a month ago #Permalink
Thanks again.
Have a nice evening.

mbaggs

More than a month ago #Permalink
The right click prevention is a "wooden wall", but it is one step of many. I use the right click prevention along with a htaccess rewrite, redirecting any url requests ending in .jpg, .png, mp4, etc. to the home page of my site. Sure you can see the URL in the code inspector, but it will require the user to do even more work to access the file.

Paul Frankowski - Staff

More than a month ago #Permalink
Yes, htaccess method is sometimes much better than all extra scripts.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 108
Toufiq

Toufiq

Total Accepted Answers: 61
Sifat

Sifat

Total Accepted Answers: 45
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 21
Ofi Khan

Ofi Khan

Total Accepted Answers: 19

118

Templates

306122

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us