您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Unlocks rewind for YouTube live streams with disabled DVR
当前为
// ==UserScript== // @name YTBetter - Enable Rewind/DVR // @namespace YTBetter // @version 2.0 // @description Unlocks rewind for YouTube live streams with disabled DVR // @description:ru Позволяет перематывать YouTube-стримы, где такая возможность заблокирована // @author トワ… // @match https://*.youtube.com/* // @run-at document-start // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com // @grant none // @license MIT // ==/UserScript== "use strict"; // Interop with "Simple YouTube Age Restriction Bypass" const { get: getter, set: setter, } = Object.getOwnPropertyDescriptor(Object.prototype, "playerResponse") ?? { set(value) { this[Symbol.for("YTBetter")] = value; }, get() { return this[Symbol.for("YTBetter")]; }, }; const isObject = (value) => value != null && typeof value === "object"; Object.defineProperty(Object.prototype, "playerResponse", { set(value) { if (isObject(value)) { const { videoDetails } = value; if (isObject(videoDetails)) { videoDetails.isLiveDvrEnabled = true; } } setter.call(this, value); }, get() { return getter.call(this); }, configurable: true, });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址