disable right click

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

disable right click was created by Kleszewski

Posted 4 years 2 months ago #54980
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.

Replied by ced1870 on topic disable right click

Posted 4 years 2 months ago #54981
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

by ced1870

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

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Replied by Kleszewski on topic disable right click

Posted 4 years 2 months ago #54982
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 2 months ago by Kleszewski
Last edit: 4 years 2 months ago by Kleszewski.

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

Time to create page: 0.660 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 791 guests and no members online