📌  相关文章
📜  javascript 启用剪贴板 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:03.745000             🧑  作者: Mango

代码示例1
// Paste into the JS console on the page in question
var allowPaste = function(e){
  e.stopImmediatePropagation();
  return true;
};
document.addEventListener('paste', allowPaste, true);