百度网盘视频播放尊享 VIP | 解锁视频倍数 | 解锁全部清晰度

使用该脚本进入百度网盘视频播放页面,自动解锁 VIP 限制,可以使用 VIP 的绝大多数功能

< Feedback on 百度网盘视频播放尊享 VIP | 解锁视频倍数 | 解锁全部清晰度

Review: OK - script works, but has bugs

§
Posted: 2024-03-15

已经不能使用了,请老大更新一下,谢谢

§
Posted: 2024-03-17

// ==UserScript==
// @name BaiduNetdiskPreviewUnlimited
// @namespace https://github.com/yourusername/BaiduNetdiskPreviewUnlimited
// @version 0.1
// @description Unlimited preview and HD playback for Baidu Netdisk videos
// @author Your Name
// @match https://pan.baidu.com/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

// Modify the video quality to 720P or 1080P
function setVideoQuality(quality) {
var video = document.querySelector('video');
if (video) {
video.src = video.src.replace(/qx\d+/, 'qx' + quality);
}
}

// Set the video quality to 720P or 1080P when the page is loaded
window.addEventListener('load', function() {
setVideoQuality(1080); // Change this value to 720 for 720P quality
});
})();

Post reply

Sign in to post a reply.