Greasy Fork is available in English.

恢复百度网盘公开分享选项

恢复了百度网盘的公开分享选项

// ==UserScript==
// @name         恢复百度网盘公开分享选项
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  恢复了百度网盘的公开分享选项
// @author       spectop
// @match        https://pan.baidu.com/*
// @grant        none
// @require      http://code.jquery.com/jquery-3.4.1.min.js
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    $(document.body).bind('DOMNodeInserted', function (e) {
        if ($('#share').length > 0) {
            console.log('has node share');
            if ($(".share-method-line").length === 1) {
                $(".share-method-line").parent().append('<div class="share-method-line"><input type="radio" id="share-method-public" name="share-method" value="public" checked=""><span class="icon radio-icon icon-radio-non"></span><label for="share-method-public"><b>公开分享</b><span>任何人访问链接即可查看,下载!</span></label></div>');
            }
        }
    });
})();