Greasy Fork is available in English.
让所有视频网页全屏,快捷键:P - 网页全屏,Enter - 全屏; 支持侧边点击切换网页全屏; 支持自动网页全屏
本脚本为「视频自动网页全屏|倍速播放」的精简版本,仅保留网页全屏核心功能。
更多实用功能(如倍速播放、下集切换),可通过安装完整版「视频自动网页全屏|倍速播放」体验。
[x] 支持自动网页全屏
[x] 支持自定义视频容器
[x] 支持侧边点击切换网页全屏
[x] 支持 iframe 、shadowRoot 视频
[x] 支持多视频页面(如:微博、抖音等)
[x] 支持在自动模式下忽略 URLs(前缀匹配,多值用英文 ; 隔开)
[x] 支持(网页)全屏切换时执行额外的代码逻辑
if (type === "isFull") {
console.log("进入全屏模式!");
} else if (type === "isWFull") {
console.log("进入网页全屏模式!");
} else {
console.log("退出(网页)全屏模式!");
}
[x] Support auto web full-screen
[x] Support multi-video pages
[x] Support for custom video container
[x] Support iframe and shadowRoot videos
[x] Support side click to toggle web full-screen
[x] URLs ignored in auto mode (prefix match, multiple values separated by semicolons)
[x] Supports additional processing when full-screen changes
if (type === "isFull") {
console.log("Enter full-screen mode!");
} else if (type === "isWFull") {
console.log("Enter full-screen web mode!");
} else {
console.log("Exit (Web) full-screen Mode!");
}