Greasy Fork

Greasy Fork is available in English.

哔哩哔哩专栏解除限制

bilibili专栏文档允许选择复制

当前为 2020-03-27 提交的版本,查看 最新版本

// ==UserScript==
// @name         哔哩哔哩专栏解除限制
// @namespace    http://greasyfork.icu/scripts/398011-%E5%93%94%E5%93%A9%E5%93%94%E5%93%A9%E4%B8%93%E6%A0%8F%E8%A7%A3%E9%99%A4%E9%99%90%E5%88%B6/code/%E5%93%94%E5%93%A9%E5%93%94%E5%93%A9%E4%B8%93%E6%A0%8F%E8%A7%A3%E9%99%A4%E9%99%90%E5%88%B6.user.js
// @version      2003270
// @description  bilibili专栏文档允许选择复制
// @author       CNGEGE
// @icon         https://www.bilibili.com/favicon.ico
// @match        *://*.bilibili.com/read/*
// @require      https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js
// @grant        none
// @run-at       document-end
// ==/UserScript==

(function() {
    'use strict';
    $(document).ready(function() {
        setTimeout(function(){
            $(".article-holder.unable-reprint").unbind();//取消事件绑定,允许复制(防止复制无效)
            $(".article-holder.unable-reprint").removeClass("unable-reprint");//移除禁止分享的类
        }
        , 100);

    });
    // Your code here...
})();