返回列表 发帖

请问TW能否过滤一些页面的JS吗?

例如页面含有这样的复制JS,我想过滤行不?


  1. <script>
  2. document.body.oncopy = function () {
  3. setTimeout( function () {
  4.   var text = clipboardData.getData("text");
  5.   if (text) {
  6.    text = text + "\r\n网址:"+location.href; clipboardData.setData("text", text);
  7.   }
  8. }, 100 )
  9. }
  10. </script>
复制代码

返回列表