I used code injection to disable right clicks on my photos on my site. It works on images on the pages, and even on lightboxes of images. However, I have some gallery pages where clicking on the photo will open it in a new window for the viewer (using clickthrough URL to a jpg file). But that new window allows the image to be right clicked and saved by viewers, which I am trying to avoid. Does anyone know where/how to inject the code on these new windows?
Question
D1whitman 0
I used code injection to disable right clicks on my photos on my site. It works on images on the pages, and even on lightboxes of images. However, I have some gallery pages where clicking on the photo will open it in a new window for the viewer (using clickthrough URL to a jpg file). But that new window allows the image to be right clicked and saved by viewers, which I am trying to avoid. Does anyone know where/how to inject the code on these new windows?
Edited by D1whitmanLink to post
Top Posters For This Question
3
3
Popular Days
May 21
4
May 19
1
May 20
1
Top Posters For This Question
D1whitman 3 posts
tuanphan 3 posts
Popular Days
May 21 2020
4 posts
May 19 2020
1 post
May 20 2020
1 post
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment