diff --git a/153699.user.js b/153699.user.js index 7cbb653..33ebaa6 100644 --- a/153699.user.js +++ b/153699.user.js @@ -6,7 +6,7 @@ // @icon https://s.ytimg.com/yts/img/favicon_32-vflOogEID.png // @homepageURL https://github.com/Zren/ResizeYoutubePlayerToWindowSize/ // @namespace http://xshade.ca -// @version 139 +// @version 140 // @include http*://*.youtube.com/* // @include http*://youtube.com/* // @include http*://*.youtu.be/* @@ -274,7 +274,7 @@ return true } } - return url.match(/https?:\/\/(www\.)?youtube.com\/watch\?/); + return url.match(/https?:\/\/(www\.)?youtube.com\/(live\/|watch\?)/); }; ytwp.setTheaterMode = function(enable) { diff --git a/changelog.md b/changelog.md index 67d5bf7..2399593 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@

Changelog

+## v140 - August 22, 2026 + +* Handle `youtube.com/live/` URLs in `isWatchUrl` so the resize also applies to direct live stream links (Issue #95) + ## v139 - April 10, 2024 * Fix page top margin as certain elements seem to ignore the CSS properties completely (Issue #88)