WebSite X5Help Center

 
Nigel W.
Nigel W.
User

Dragging images from websites  en

Author: Nigel W.
Visited 1159, Followers 2, Shared 0  

It has only just been pointed out to me that people can simply "drag" and "drop" onto their desktops any image they want from our websites, although "right click" is disabled.

What can Incomedia do about this?

(I've only just noticed this after several years...lol!)

Posted on the
8 ANSWERS - 1 CORRECT
JJ. JUAG
JJ. JUAG
User

If you protect the HTML code in the boxes 4 - Privacy and Security - Security tab, the right mouse button is then blocked. (v12pro)

JJ.

Read more
Posted on the from JJ. JUAG
Paul M.
Paul M.
Moderator

Yes, that's correct JJ, but Nigel is referring to the ability which any web site visitor has to left-click and hold on an image, then drag it to the Windows desktop.

Read more
Posted on the from Paul M.
Esahc ..
Esahc ..
Moderator

Nigel

Try adding html code to your header (it will be invisible)

Then paste this.

<BODY onselectstart="return false;" ondragstart="return false;">

Read more
Posted on the from Esahc ..
Nigel W.
Nigel W.
User
Author

Hi Esahc...

Do you mean in EVERY html page or add it to Advanced Settings -> Custom Code?

Nigel

Read more
Posted on the from Nigel W.
Esahc ..
Esahc ..
Moderator

Nigel

Just add it once, step 1, template customisation.  This will provide prtection on every page whether responsive or not.

It will look like it is going to obliterate some of your header, but it will not.

Read more
Posted on the from Esahc ..
Jamie B.
Jamie B.
User

Hi nigel

you need to add the script tag, I believe it should work then.

regards

jamie

Read more
Posted on the from Jamie B.
Nigel W.
Nigel W.
User
Author

Hi Jamie/Esahc...

My apologies...it DOES WORK!

Because of memory issues the inserted html code above kept vanishing but now I've managed to keep it in tact and published, it works a treat!

Many thanks,

Nigel

Read more
Posted on the from Nigel W.