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
官方網址 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"
            ]
        }
    ]
}