Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: disable right click

disable right click 04 Feb 2020 13:55 #54980

  • Kleszewski
  • Kleszewski's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • I like playing chess.
  • Posts: 287
  • Thank you received: 5
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.

disable right click 04 Feb 2020 14:06 #54981

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23812
  • Karma: 427
  • Thank you received: 2987
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.

disable right click 04 Feb 2020 14:19 #54982

  • Kleszewski
  • Kleszewski's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • I like playing chess.
  • Posts: 287
  • Thank you received: 5
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.

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

Last edit: by Kleszewski.
  • Page:
  • 1
Time to create page: 0.168 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 247 guests and no members online