0
点赞
收藏
分享

微信扫一扫

html 不允许点击图片或者另存为属性


1、html 不能点击图片属性,但是可以右击另存为

<img id="top-image" src="../../assets/image/b.png"  draggable="false" style="width: 100%;height: 533px;">

2、html 不能点击图片,同时不可以右击另存为

<img id="top-image" src="../../assets/image/b.png" style="width: 100%;height: 533px;pointer-events: none;">

举报

相关推荐

0 条评论