您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Forces Youtube embeds to play anywhere, even if UMG/SMG disagrees.
// ==UserScript== // @name Youtube Embed Whatever Wherever // @namespace https://gf.qytechs.cn/en/users/945115-unmatchedbracket // @match *://www.youtube.com/embed/* // @grant none // @run-at document-body // @version 1.0.2 // @author Unmatched Bracket // @license The Unlicense // @description Forces Youtube embeds to play anywhere, even if UMG/SMG disagrees. // ==/UserScript== function modulate () { let player_response = JSON.parse(ytcfg.data_.PLAYER_VARS.embedded_player_response) if (player_response.previewPlayabilityStatus.status == "OK") return player_response.previewPlayabilityStatus.status = "OK" player_response.previewPlayabilityStatus.playableInEmbed = true delete player_response.previewPlayabilityStatus.reason delete player_response.previewPlayabilityStatus.errorScreen ytcfg.data_.PLAYER_VARS.embedded_player_response = JSON.stringify(player_response) ytcfg.data_.WEB_PLAYER_CONTEXT_CONFIGS.WEB_PLAYER_CONTEXT_CONFIG_ID_EMBEDDED_PLAYER.isEmbed = false ytcfg.data_.INNERTUBE_CONTEXT.client.originalUrl = `https://www.youtube.com/watch?v\u003d${ytcfg.data_.VIDEO_ID}` } function tick () { if (window.ytcfg) modulate() else requestAnimationFrame(tick) } if (window.ytcfg) modulate() else tick()
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址