标签:
JS
function imgdragstart(){return false;} for(i in document.images)document.images[i].ondragstart=imgdragstart;
CSS(webkit兼容)
draggable="false"
禁止img图片拖动在新窗口打开
原文地址:http://www.cnblogs.com/oospace/p/4249854.html