YouTube Fast Fullscreen Toggle

Avoid the lag when entering/exiting fullscreen on a YouTube video - by hiding the heavy fluff while transitioning

什么是YouTube Fast Fullscreen Toggle?

YouTube Fast Fullscreen Toggle是由zimbico开发的Chrome扩展程序,该扩展的主要功能是“Avoid the lag when entering/exiting fullscreen on a YouTube video - by hiding the heavy fluff while transitioning”。

扩展截图

screenshot

下载YouTube Fast Fullscreen Toggle扩展crx文件

下载YouTube Fast Fullscreen Toggle扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        There's an annoying lag period when entering/exiting fullscreen on a YouTube video. On my machine, it's normally ~2 seconds; but with a large playlist expanded, it gets up to ~3 seconds. This extension reduces the transition time to almost nothing.

Supported fullscreen transitions:

- Clicking the fullscreen button
- Pressing the F key
- Double-clicking the video

Unsupported fullscreen transitions (still slow):

- Escape
- F11

Note that Firefox doesn't seem to have the same issue as Chrome; so in Firefox the improvement is barely noticeable.

In Vivaldi, there is unfortunately an intermediate step in the fullscreen transition, which I can't seem to do anything to avoid. It appears to be due to the toolbars being hidden/shown at a different moment to when the browser actually enters/leaves fullscreen.

Technical detail:

This bug's been present for years now, and I got so sick of it that I spent one night experimenting to find a way to avoid it - and I found one! The extra HTML content on the page (playlist, recommendations, comments, description, likes, etc.) is pretty heavy, and when you toggle fullscreen, YouTube moves it around in the DOM, which ends up incuring a fair bit of processing. I've worked out that it's significantly faster to hide that extra content before transitioning, then display it again afterwards once it's reached its new position.                    

扩展基本信息

名称 YouTube Fast Fullscreen Toggle YouTube Fast Fullscreen Toggle
ID dggbkbndbcaknaeobfieifmdcncmpaba
官方URL https://chromewebstore.google.com/detail/youtube-fast-fullscreen-t/dggbkbndbcaknaeobfieifmdcncmpaba
简介 Avoid the lag when entering/exiting fullscreen on a YouTube video - by hiding the heavy fluff while transitioning
文件大小 21.1 KB
安装次数 2,485
当前版本 2.9.0
更新时间 2023-10-20
上架时间 2021-02-14
评分 4.67/5 共73次评分
开发者 zimbico
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/ZimbiX/youtube-fast-fullscreen-toggle
帮助页面URL https://github.com/ZimbiX/youtube-fast-fullscreen-toggle/issues
支持的语言 en-GB
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "YouTube Fast Fullscreen Toggle",
    "description": "Avoid the lag when entering\/exiting fullscreen on a YouTube video - by hiding the heavy fluff while transitioning",
    "version": "2.9.0",
    "manifest_version": 3,
    "icons": {
        "128": "icon.png"
    },
    "content_scripts": [
        {
            "matches": [
                "https:\/\/www.youtube.com\/*"
            ],
            "run_at": "document_end",
            "js": [
                "contentScript.js"
            ]
        }
    ]
}