some Zhuo phones open the h5 page in qq, click Img to preview it, and then press the picture to download it. Is there any way to solve it?
some Zhuo phones open the h5 page in qq, click Img to preview it, and then press the picture to download it. Is there any way to solve it?
if you don't want to make major changes, you can consider adding pointer-events:none;
to all img tags (of course, those with events should drop Filter); if you are not afraid of changes, go directly to Canvas. If the interface is complex, you can consider finding a UI system to do it, which is not difficult.
$("body").on("contextmenu", "img", function(e) {
return false;
});
https://stackoverflow.com/que.
img
bindtouch
event
return fasle;
this applies to img without event
the background image cannot be downloaded.
Previous: Cannot get the duration of video in vue
Next: How to intercept the request wrapped by modified request for itself by dubbo's rest service