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)

These are versions of this script where the code was updated. Show all versions.

  • v2.4.8 2023-05-26

    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 2022-11-14

    - 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 2022-10-21

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

  • v2.4.5 2022-10-20

    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 2022-10-18

    - 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 2022-09-18

    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 2022-08-26

    Removed top/bottom padding from #columns

  • v2.4.1 2022-02-21

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

  • v2.4 2022-02-10

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

  • v2.3.6 2022-02-03

    - 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 2021-07-12

    yt-showing-results-for-renderer fix

  • v2.3.4 2021-03-03 made list view video container full width
  • v2.3.3 2021-03-03 moved vid-container height line
  • v2.3.2 2021-03-03 fixed trending page thumbnails + reduced padding for channel-icon
  • v2.3.1 2020-12-13 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 2020-10-31 New Settings menu + icon64
  • v2.2.1 2020-10-10 Small update to margins of video container descriptions and badges(CC/NEW/4K etc.) in the search result pages. + settings typo fix
  • v2.2 2020-10-06 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 2020-09-24 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 2020-08-26 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 2020-08-23 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 2020-03-19 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 2020-01-11 Added option to change the width of the video containers on the trending page
  • v1.7.8 2020-01-10 improved the trending page: should now show more than one videos per row
  • v1.7.7 2020-01-09 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 2020-01-08 channel pages should be wide as well now. +other small fixes
  • v1.7.5 2019-12-28 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 2019-07-09 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 2019-05-14 Added some console logs, fixed wrong hadling of the options handle, added "CSS important tule mode"
  • v1.7.2 2019-03-18 Removed Fade++ "feture oversight" fix. It can now be found here: https://userstyles.org/styles/170032/assorted-fade-fixes
  • v1.7.1 2019-03-18 Further simplified CSS. Some fixes to the Fade++ compatibility mode, so it should now work better.
  • v1.7 2019-03-11 Added compatibility mode for Fade++. Also fixes a Fade++ oversight: Subscriptions section now has the same container as home.
  • v1.6.1 2019-03-11 Small changes to CSS. Better centered. Compatible with Fade+
  • v1.6 2019-02-18 Simplified CSS selector hopefully making it more reliable. Fixed playlist section problems.
  • v1.5 2018-07-11 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 2018-07-11 Hiding the left hand "guide" section now automatically widens the video container further to allow one more column to fit.
  • v1.3 2018-06-06 fixed video container overflow problem on 1080p monitors
  • v1.2 2018-04-07 Fixed a bug where the sort by button would move to on top of other text in the comments section
  • v1.1 2018-03-20 Added support for new youtube layout.
  • v1 2017-10-20