admin管理员组文章数量:1026989
i want to disable the option to save as images on smartphones (android and IOS) using mobile browsers like chrome, firefox, ie, cm, opera, ie. Could anyone have a solution to this? chi
i want to disable the option to save as images on smartphones (android and IOS) using mobile browsers like chrome, firefox, ie, cm, opera, ie. Could anyone have a solution to this? chi
Share Improve this question edited Jul 12, 2016 at 13:07 cjbj 15k16 gold badges42 silver badges89 bronze badges asked Jul 12, 2016 at 12:23 PanosPanos 391 silver badge10 bronze badges1 Answer
Reset to default 1These days it is not really possible anymore to distinguish between mobile and other browsers, but you may try wp_is_mobile
. There are plugins that try to do a better job.
Then, if the user agent is mobile you may try to disable saving of the image, but there is no definite way to do this. To display the image it must be sent to the smartphone. You cannot take over the smartphone, so the user will always have methods to wrestle the image from you.
That said, there are methods to make it difficult for users. The most obvious one is to set images as backgrounds with css. This disables the normal way of saving images. Here are some other options.
i want to disable the option to save as images on smartphones (android and IOS) using mobile browsers like chrome, firefox, ie, cm, opera, ie. Could anyone have a solution to this? chi
i want to disable the option to save as images on smartphones (android and IOS) using mobile browsers like chrome, firefox, ie, cm, opera, ie. Could anyone have a solution to this? chi
Share Improve this question edited Jul 12, 2016 at 13:07 cjbj 15k16 gold badges42 silver badges89 bronze badges asked Jul 12, 2016 at 12:23 PanosPanos 391 silver badge10 bronze badges1 Answer
Reset to default 1These days it is not really possible anymore to distinguish between mobile and other browsers, but you may try wp_is_mobile
. There are plugins that try to do a better job.
Then, if the user agent is mobile you may try to disable saving of the image, but there is no definite way to do this. To display the image it must be sent to the smartphone. You cannot take over the smartphone, so the user will always have methods to wrestle the image from you.
That said, there are methods to make it difficult for users. The most obvious one is to set images as backgrounds with css. This disables the normal way of saving images. Here are some other options.
本文标签:
版权声明:本文标题:mobile - Disable save as image on smartphones using all browsers ( chrome, firefox, ie, cm, opera ) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1741545536a1874707.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论