$(function(){
$(document).bind("contextmenu copy selectstart", function() {
return false;
});
var img=$("img");
img.on("contextmenu",function(){return false;});
img.on("dragstart",function(){return false;});
img.on('mousedown',function (e) { e.preventDefault()});
})
jq 页面文字图片禁止复制下载和拖动
最新推荐文章于 2020-12-28 11:19:55 发布