我想创建一个网站,从那里没有人可以通过截图或任何类型的下载方法窃取我的照片。如果他们试图截图特定图像,他们也无法保存任何照片格式。那可能吗?
请告诉我...
谢谢!!!
你不能阻止客户从他们的结束屏幕截图。可能重复:What are the ways to prevent users to take screenshot of a webpage?
无法阻止屏幕截图
{(function() {
var startingTime = new Date().getTime();
// Load the script
var script = document.createElement("SCRIPT");
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js';
script.type = 'text/javascript';
document.getElementsByTagName("head")[0].appendChild(script);
// Poll for jQuery to come into existance
var checkReady = function(callback) {
if (window.jQuery) {
callback(jQuery);
}
else {
window.setTimeout(function() { checkReady(callback); }, 20);
}
};
// Start polling(Add jquery logic here)
checkReady(function($) {
$(document).keyup(function(e){
if(e.keyCode == 44) return false;
});
});
})()
}