Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Last-Order/d53308d25b61916e19587bb8bedee96a to your computer and use it in GitHub Desktop.
Save Last-Order/d53308d25b61916e19587bb8bedee96a to your computer and use it in GitHub Desktop.
哔哩哔哩上传大小限制绕过
// ==UserScript==
// @name bilibili上传大小限制突破
// @namespace Violentmonkey Scripts
// @match https://member.bilibili.com/platform/upload/video/frame
// @grant none
// @version 1.0
// @author -
// @description 2021/8/30 下午2:31:56
// ==/UserScript==
Object._assign = Object.assign;
Object.assign = function (...args) {
if (args[1]?.fileSingleSizeLimit) {
args[1].fileSingleSizeLimit *= 10;
}
return Object._assign(...args);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment