web helper

网页助手

当前为 2024-05-07 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name web helper
  3. // @namespace https://github.com/dingcang/tampermonkey-web-helper
  4. // @version 0.0.2
  5. // @description 网页助手
  6. // @author dc
  7. // @match *://*/*
  8. // @run-at document-start
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function () {
  13. "use strict";
  14. if (location.host.includes("csdn")) {
  15. Object.defineProperty(window, "copyPopSwitch", {
  16. value: false,
  17. writable: false,
  18. });
  19. }
  20.  
  21. if (location.host.includes("9ku")) {
  22. Object.defineProperty(window, "close", {
  23. value: () => {
  24. debugger;
  25. },
  26. writable: false,
  27. });
  28. }
  29. })();