Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 153699.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down Expand Up @@ -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) {
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<h3>Changelog</h3>

## 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)
Expand Down