Implemented "Prevent playback looping of youtube shorts video"
⚬ PROBLEM: YouTube Shorts loop indefinitely, making it hard to stop playback. ⚬ SOLUTION: Detects when a Shorts video restarts and pauses it at the last frame to prevent looping.
⚬ RELEVANCE / SCOPE: Affects only Shorts videos. Doesn’t interfere with regular videos or ads. Works dynamically via MutationObserver.
⚬ "SIDE EFFECTS": May pause unintended seeks. Requires updates if YouTube changes behavior. Automatically toggled, menu toggle does not function properly (player settings)
⚬ CONTEXT: Uses chrome.storage.local.get, matching other features. Listens for setting changes dynamically. Integrates smoothly into ImprovedTube.
hi! and thanks @giulivno
hi! @giulivno can you have a look at #2858? by @Lainadux
i merged it for now as it was quick to review.
thanks!
it would be great if you could fix our ad skipper too? (since you looked into it) ( @raszpl prepared something here https://github.com/raszpl/tweaks4ytube/commit/26bc7c30590fb3258f7f923dd1f930daa3f5ea35 https://github.com/raszpl/tweaks4ytube/commit/49b9f0cd3b39bfad9eb68ea2cd5ed9f8f723f1d3 )