【问题标题】:Is it possible to read the clipboard contents in Chrome without an onPaste handler?是否可以在没有 onPaste 处理程序的情况下读取 Chrome 中的剪贴板内容?
【发布时间】:2011-01-17 03:35:59
【问题描述】:

是否可以在没有用户交互的情况下读取剪贴板?就像IE的window.clipdData.getData("Text")一样?

我见过其他问题,例如Is it possible to read the clipboard contents in Firefox, Safari, and Chrome using Javascript?,但 onpaste 事件不是我们要找的。

【问题讨论】:

    标签: javascript dom google-chrome chromium


    【解决方案1】:

    出于隐私/安全原因,我认为这是不可能的。您可以循环嗅探剪贴板并捕获其他复制的密码。

    (如果它在 IE 中有效,那么密码嗅探似乎值得一试:D)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-09-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-16
      • 1970-01-01
      • 1970-01-01
      • 2018-06-02
      相关资源
      最近更新 更多