How to solve the problem that HTML5 prohibits img preview?
不言2018-10-23 17:37:03
0
1
1706
Some Android phones open the h5 page in QQ and click Img to preview it. After previewing, long press the image to download it. Is there any way to achieve this?
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 be filtered out); if you are not afraid of changes, just go to Canvas. If the interface is complicated, you can consider finding a UI system. Come and do 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 be filtered out); if you are not afraid of changes, just go to Canvas. If the interface is complicated, you can consider finding a UI system. Come and do it.