恢复文本选择

解除文本选择的禁用。

  1. // ==UserScript==
  2. // @name 恢复文本选择
  3. // @namespace https://github.com/yujinpan/tampermonkey-extension
  4. // @version 1.1
  5. // @license MIT
  6. // @description 解除文本选择的禁用。
  7. // @author yujinpan
  8. // @include http*://**
  9. // @run-at document-start
  10. // ==/UserScript==
  11.  
  12. (() => {
  13. const style = document.createElement('style');
  14. style.innerHTML = '*,*::after,*::before { user-select: auto !important; }';
  15. document.head.append(style);
  16. })();

QingJ © 2025

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