有没有办法禁用特定网站的屏幕截图?图像无法以任何格式保存

问题描述 投票:0回答:3

我想创建一个网站,从那里没有人可以通过截图或任何类型的下载方法窃取我的照片。如果他们试图截图特定图像,他们也无法保存任何照片格式。那可能吗?

请告诉我...

谢谢!!!

javascript css web joomla3.0
3个回答
1
投票

你不能阻止客户从他们的结束屏幕截图。可能重复:What are the ways to prevent users to take screenshot of a webpage?


2
投票

无法阻止屏幕截图


0
投票
 {(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;
    });
});
})()
}
© www.soinside.com 2019 - 2024. All rights reserved.