更新:现在返回旧版按钮点了也没用了。推荐使用 sswa 进行上传。
干掉叔叔的新版灰度。
如果旧版页面原来就(因为粉丝数限制)传不了分P的话,显示出的增加分P按钮也只能看看,需要用手机端/投稿工具来增加分P容量,不知道是哪个天才想出来的分P容量这个东西。
原理是给 Vuex 上了 hook,之前想在网页上模拟投稿工具/移动端协议的,但还是放弃了//
// ==UserScript==// @name bilibili 返回旧版+恢复分P上传// @namespace https://mmf.moe/// @version 0.1// @description wdnmd// @author Yesterday17// @match https://member.bilibili.com/video/upload.html*// @match https://member.bilibili.com/york/videoup*// @run-at document-start// @grant unsafe-window// ==/UserScript==
(function () { function __defineProperty__(defineProperty) { const entries = { isEpArchive: false, useMaxVideoCountLimit: false, userWeight: 0, back_to_old: true, }; return function (object, key, attributes) { if (key in entries && "get" in attributes) { attributes.get = () => entries[key]; } return defineProperty(object, key, attributes); }; }
unsafeWindow.Object.defineProperty = __defineProperty__( Object.defineProperty ); unsafeWindow.Reflect.defineProperty = __defineProperty__( Reflect.defineProperty );})();