free-copy-on-segmentfault

free copy on segmentfault.com

  1. // ==UserScript==
  2. // @name free-copy-on-segmentfault
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description free copy on segmentfault.com
  6. // @author Alexy
  7. // @match https://segmentfault.com/*
  8. // @icon https://www.google.com/s2/favicons?domain=segmentfault.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. document.querySelectorAll("article.article").forEach(function(t) {
  15. t.addEventListener("copy", function(t) {
  16. event.stopPropagation();
  17. }, true);
  18. });
  19.  
  20. })();

QingJ © 2025

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