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

Latest Version

Version
2.10.0
Update
April 19, 2024
Size
21.68KiB
Developer
Category
Users
2,000+
Rating
4.63291 ★
Manifest Version
3
Web Store Status
Languages Support
English (UK)
See more
Permissions
See more

YouTube Fast Fullscreen Toggle Extension

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.
Read more

Source 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.10.0", "manifest_version": 3, "icons": { "128": "icon.png" }, "content_scripts": [ { "matches": ["https://www.youtube.com/*"], "run_at": "document_end", "js": ["contentScript.js"] } ]}
Read more

Similar Extensions

icon

YouTube Inline Fullscreen Extension · Productivity 2,000+ 45 ★ 21.52KiB

icon

YouTube Refined: Improve's YouTube UI Extension · Fun 2,000+ 21 ★ 13.08KiB

icon

YouTube Toggle Fullscreen Extension · Productivity 2,000+ 6 ★ 18.55KiB

icon

Video Fullscreen Extension · Accessibility 2,000+ 8 ★ 8.49KiB

icon

YouTube Windowed FullScreen Extension · Productivity 2,000+ 361 ★ 173KiB

icon

BigTube - Better Youtube Theater Mode & More Extension · Productivity 2,000+ 97 ★ 29.86KiB

icon

BetterTheatre Extension · Accessibility 2,000+ 34 ★ 18.82KiB

icon

Hide YouTube™ Fullscreen Controls Extension · Productivity 2,000+ 41 ★ 20.4KiB

icon

YouTube Full Screen Video Extension · Productivity 2,000+ 4 ★ 17.32KiB

icon

YouTube Video Expander Extension · Productivity 2,000+ 4 ★ 5.06KiB

icon

Modern scrollbar Extension · Productivity 2,000+ 83 ★ 30.62KiB

icon

YouTube Full Windowed Extension · Accessibility 2,000+ 15 ★ 13.09KiB

icon

Full Screen Video for Youtube and more Extension · Fun 2,000+ 11 ★ 50.39KiB

icon

Tweaks for YouTube Extension · Productivity 2,000+ 451 ★ 615KiB

icon

Fill Window - Youtube Extension · Fun 2,000+ 22 ★ 13.13KiB

icon

Delta for YouTube Extension · Social & Communication 2,000+ 10 ★ 678KiB

icon

Windowed Fullscreen for Videos Extension · Accessibility 2,000+ 11 ★ 16.39KiB

icon

Fullscreen Extension · Productivity 2,000+ 16 ★ 6.9KiB

icon

Ambient light for YouTube™ Extension · Productivity 2,000+ 135 ★ 947KiB

icon

Toggle Fullscreen Extension · Accessibility 2,000+ 79 ★ 17.45KiB

icon

YouTube Full Title For Videos Extension · Social & Communication 2,000+ 58 ★ 11.87KiB

icon

Highlights for YouTube Extension · Fun 2,000+ 15 ★ 41.6KiB

icon

Ultrawide Monitor for YouTube Extension · Productivity 2,000+ 55 ★ 132KiB

icon

YouTube Settings Extension · Productivity 2,000+ 18 ★ 130KiB

User reviews

icon

Le creeper arboricole (ID: 000000380e7ded17) Voted 5 ★ - Updated 10/19/2023 linux

icon

Sellers (ID: 000000c09abef734) Voted 5 ★ - Updated 10/05/2023 Works great!

icon

Bryan (ID: 0000004b27de7b6d) Voted 5 ★ - Updated 07/05/2023 massive improvement thanks!

icon

Pierre “Ridou” Brunet (ID: 00000015d203c78b) Voted 1 ★ - Updated 05/10/2023 Still slow

icon

Maximiliano Kreckler (ID: 000000e983f3b34d) Voted 5 ★ - Updated 05/02/2023 Muy buena solucion .Uso Vivaldi , el tiempo se acorto de 2 segundos a 1 segundo.Gracias.