Video Fullscreen

Created at 4 months ago
Updated at 5 days ago
Maximize all video players; Shortcut keys: P - Web Fullscreen, Enter - Fullscreen; Support side click to web fullscreen; Support auto web fullscreen
Total Installs
1,427
Today's New
+1
User Rating
5.0 / 5.0 (1)
Current Version
3.10.5
Script Details
Applicable Sites

本脚本为「视频自动网页全屏|倍速播放」的精简版本,仅保留网页全屏核心功能。

更多实用功能(如倍速播放、下集切换),可通过安装完整版「视频自动网页全屏|倍速播放」体验。

特性

  • 支持自动网页全屏

  • 支持自定义视频容器

  • 支持侧边点击切换网页全屏

  • 支持 iframeshadowRoot 视频

  • 支持多视频页面(如:微博、抖音等)

  • 支持在自动模式下忽略 URLs(前缀匹配,多值用英文 ; 隔开)

  • 支持(网页)全屏切换时执行额外的代码逻辑

    if (type === "isFull") {
      console.log("进入全屏模式!");
    } else if (type === "isWFull") {
      console.log("进入网页全屏模式!");
    } else {
      console.log("退出(网页)全屏模式!");
    }
    

Features

  • Support auto web full-screen

  • Support multi-video pages

  • Support for custom video container

  • Support iframe and shadowRoot videos

  • Support side click to toggle web full-screen

  • URLs ignored in auto mode (prefix match, multiple values separated by semicolons)

  • 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!");
    }