Greasy Fork is available in English.

Space-efficient Youtube

AKA: "Wide Youtube", AKA: "Wide video container" - Uses the page space on youtube more efficiently (especially good for high resolutions)

Voici les versions de ce script où le code a été modifié. Voir toutes les versions.

  • v2.4.8 26/05/2023

    Due to an update to GM_config, my script was broken for a while. Now updated to comply with their new async init. Working again.

  • v2.4.7 14/11/2022

    - changed @include to @match
    - Added a poling interval check to run a JS function to fix Home page items-per-row limits by moving items outside of the rows and removing said rows after (TODO: might look into a more efficient observer solution or something similar later)

  • v2.4.6 21/10/2022

    - Channel community page centered
    - post width initial setup for future update to add it as a proper option in script settings

  • v2.4.5 20/10/2022

    Fixed search page main container width not using the entire page caused by YT update by removing a single character from my script lol

  • v2.4.4 18/10/2022

    - Removed wasted space from above the video player while in default mode (not theater).
    - Removed margins from video container's chapter select so it should now fit
    - Added high z-index to video container's chapter select so when it's expanded it goes over all other elements
    - Video badges are now hidden by default

  • v2.4.3 18/09/2022

    added overflow:hidden to page-manager element due to it sometimes being a few pixels too large for some reason (scrollbar would appear)

  • v2.4.2 26/08/2022

    Removed top/bottom padding from #columns

  • v2.4.1 21/02/2022

    Fixed a problem with video page width calculations that caused >100% width

  • v2.4 10/02/2022

    - Added video page Recommended videos related options and feature (Theater mode only for now)
    - Updated settings
    - Small fixes

  • v2.3.6 03/02/2022

    - Due to a YT update to how the home page renders videos, changing the thumbnail width using the script's methods leaves a bunch of empty space, so I decided to disable that part of the script by default. Therefore the thumbnail sizes on the home page will be as determined by vanilla YT, unless you change turn the option back on from the settings.
    - Fixed the settings menu's "save" and "save & refresh" buttons (converted some old Jquery code to pure JS)

  • v2.3.5 12/07/2021

    yt-showing-results-for-renderer fix

  • v2.3.4 03/03/2021 made list view video container full width
  • v2.3.3 03/03/2021 moved vid-container height line
  • v2.3.2 03/03/2021 fixed trending page thumbnails + reduced padding for channel-icon
  • v2.3.1 13/12/2020 Fixed channel video carousel auto expanding for /c/ urls + moved the right arrow to a better position (different position handling for chromium and non-chromium)
  • v2.3 31/10/2020 New Settings menu + icon64
  • v2.2.1 10/10/2020 Small update to margins of video container descriptions and badges(CC/NEW/4K etc.) in the search result pages. + settings typo fix
  • v2.2 06/10/2020 Rewrite of most of the script. I did not add some of the old settings and added some new ones. Also should fix some problems with the search
  • v2.1 24/09/2020 Added space-effiency to search results and option to change video container width for search results. + Fixed hiding of Home-page channel icons in video containers.
  • v2.0 26/08/2020 added option to load high quality thumbnails on subscriptions page (now scaling the subscription page videos as bigger if you want makes more sense) + cleaned up some code
  • v1.9 23/08/2020 Made the way the settings work more sensible and added some new ones. Now all video-renderer (AKA video container) widths can be directly set instead of some weird "number of videos per row" and other weird and inconsistent options
  • v1.8 19/03/2020 Added max-width rules + made the auto expand of video lists on channels more reliable (though still very stupid, might look into something better later)
  • v1.7.9 11/01/2020 Added option to change the width of the video containers on the trending page
  • v1.7.8 10/01/2020 improved the trending page: should now show more than one videos per row
  • v1.7.7 09/01/2020 channel page video list sections should now automatically load more videos if they can fit (kind of messy and hacky, but should work)
  • v1.7.6 08/01/2020 channel pages should be wide as well now. +other small fixes
  • v1.7.5 28/12/2019 Added new system to work around the new way YT displays videos on the homepage. Includes new related settings options. other pages function as before.
  • v1.7.4 09/07/2019 Youtube has marked the fixed width as !important in their CSS, so I made mine !important too (regardless of the "important rule mode") to combat this
  • v1.7.3 14/05/2019 Added some console logs, fixed wrong hadling of the options handle, added "CSS important tule mode"
  • v1.7.2 18/03/2019 Removed Fade++ "feture oversight" fix. It can now be found here:
  • v1.7.1 18/03/2019 Further simplified CSS. Some fixes to the Fade++ compatibility mode, so it should now work better.
  • v1.7 11/03/2019 Added compatibility mode for Fade++. Also fixes a Fade++ oversight: Subscriptions section now has the same container as home.
  • v1.6.1 11/03/2019 Small changes to CSS. Better centered. Compatible with Fade+
  • v1.6 18/02/2019 Simplified CSS selector hopefully making it more reliable. Fixed playlist section problems.
  • v1.5 11/07/2018 Further widened the old layout youtube container. (Not sure why I had it set to only 90% before) (This means yet another column of videos)
  • v1.4 11/07/2018 Hiding the left hand "guide" section now automatically widens the video container further to allow one more column to fit.
  • v1.3 06/06/2018 fixed video container overflow problem on 1080p monitors
  • v1.2 07/04/2018 Fixed a bug where the sort by button would move to on top of other text in the comments section
  • v1.1 20/03/2018 Added support for new youtube layout.
  • v1 20/10/2017