如何检测“on Screenshot"使用 Javascript [英] How to detect "on Screenshot" with Javascript
本文介绍了如何检测“on Screenshot"使用 Javascript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在制作一个类似于 instagram 的网络应用程序,我想在用户截取屏幕截图时检测并调用一个函数,他们有什么方法可以用 javascript 实现这一点吗?
I am making a web app similar to instagram and i want to detect and call a function whenever a user takes the screenshot, is their any way to implement this with javascript?
推荐答案
目前,没有办法通过 javascript 处理屏幕截图事件.手机的截图功能根本就没有连接浏览器.
Currently, there is no way to handle a screenshot event through javascript. The screenshot functionality of phones simply has no connection to the browser.
这篇关于如何检测“on Screenshot"使用 Javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文