Disable image upload in Android browser

how to disable functionality in Android browsers, where the user can press and hold, as well as display and open the Save Image pop-up dialog box.

for ios devices, -webkit-touch-callout:none; works, but it doesn’t seem to affect Android browsers.

+4
source share
1 answer

attach an event handler for the click event that calls event.preventDefault (). At least this worked for me when using the default ICS web browser, chrome beta and opera mobile.

0
source

Source: https://habr.com/ru/post/1390063/


All Articles