disable right click

More
4 years 9 months ago #54980 by Kleszewski
Hi
How to disable right click when the image opens in a modal window .
I have pictures in the text of the page that open in a modal window and I would like to block the possibility of copying them
All add-ons and scripts that I try block the entire page, but not the modal window :(

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #54981 by ced1870
Replied by ced1870 on topic disable right click
Hi
I don't have this feature and to be honest this is totally useless ;)
You can save any image that is displayed in the browser, even with right click disabled
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago - 4 years 9 months ago #54982 by Kleszewski
Replied by Kleszewski on topic disable right click
I know . despite this, 90% of people who accidentally visit a website can't do it, save a page or image when they are not right-clicked. I want it to be a simple difficulty. Nothing more :)

I saw this function in some gallery component for Joomla.
But I personally don't have enough knowledge (javascrypt) to understand exactly which code fragment is responsible for the modal window.
I can do it for the whole page, but not for the pop-up window
ok, benda tried again, maybe I'll come up with something finally.
update:
And I solved the problem. Topic to close.
Last edit: 4 years 9 months ago by Kleszewski.

Please Log in or Create an account to join the conversation.

Time to create page: 0.200 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 964 guests and one member online