Super copy

Enable copy from page

Verze ze dne 22. 03. 2024. Zobrazit nejnovější verzi.

// ==UserScript==
// @name         Super copy
// @namespace    http://forhot2000.cn/
// @version      0.1.1
// @description  Enable copy from page
// @author       forhot2000
// @match        https://www.jianshu.com/*
// @match        https://wenku.baidu.com/*
// @icon         https://lhimg.crxsoso.com/Ns15HnJeZ41wHC_7A85LSM6KF9pOWPzlVt2qHxzZM_nyhooXYiox6ukmTWI5obCOMtgd7tpPtONlHykaOuf3deXgjQ=w128-h128-e365-rj-sc0x00ffffff
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // 需要添加在禁止 copy 事件之前,否则不起作用
    document.addEventListener('copy',function(e){
        e.stopImmediatePropagation();
    });

})();
长期地址
遇到问题?请前往 GitHub 提 Issues。