Jandan Copy

强力解除煎蛋复制限制

  1. // ==UserScript==
  2. // @name Jandan Copy
  3. // @namespace -
  4. // @description 强力解除煎蛋复制限制
  5. // @include http://jandan.net/*
  6. // @version 0.3
  7. // @rut-at document-start
  8. // @copyright mistree
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. EventTarget.prototype.addEventListenerBase = EventTarget.prototype.addEventListener;
  13. EventTarget.prototype.addEventListener = function(type, listener)
  14. {
  15. if(type=="copy") return;
  16. if(!this.EventList) { this.EventList = []; }
  17. this.addEventListenerBase.apply(this, arguments);
  18. if(!this.EventList[type]) { this.EventList[type] = []; }
  19. var list = this.EventList[type];
  20. for(var index = 0; index != list.length; index++)
  21. {
  22. if(list[index] === listener) { return; }
  23. }
  24. list.push(listener);
  25. };

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址