Skip to content

Instantly share code, notes, and snippets.

@Last-Order
Last active August 30, 2021 06:37
Show Gist options
  • Save Last-Order/97bb0c2215cda880c8a701b5df728365 to your computer and use it in GitHub Desktop.
Save Last-Order/97bb0c2215cda880c8a701b5df728365 to your computer and use it in GitHub Desktop.
bypass_bilibili_upload_size_limit.user.js
// ==UserScript==
// @name bilibili上传大小限制突破
// @namespace Violentmonkey Scripts
// @match https://member.bilibili.com/video/upload.html
// @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