Invidious maximized video

Maximizes the video in Insidous for YouTube to use the entire width of the browser window.

Stan na 24-06-2023. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Invidious maximized video
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Maximizes the video in Insidous for YouTube to use the entire width of the browser window.
// @author       Magusbear
// @license MIT
// @match        http*://*.vern.cc/*
// @match        http*://inv.vern.cc/*
// @match        http*://*.vern.cc/*
// @match        http*://inv.vern.cc/*
// @match        http*://inv.bp.projectsegfau.lt/*
// @match        http*://inv.odyssey346.dev/*
// @match        http*://inv.riverside.rocks/*
// @match        http*://invidious.baczek.me/*
// @match        http*://invidious.epicsite.xyz/*
// @match        http*://invidious.esmailelbob.xyz/*
// @match        http*://invidious.flokinet.to/*
// @match        http*://invidious.lidarshield.cloud/*
// @match        http*://invidious.nerdvpn.de/*
// @match        http*://invidious.privacydev.net/*
// @match        http*://invidious.snopyta.org/*
// @match        http*://invidious.tiekoetter.com/*
// @match        http*://invidious.weblibre.org/*
// @match        http*://iv.melmac.space/*
// @match        http*://vid.puffyan.us/*
// @match        http*://watch.thekitty.zone/*
// @match        http*://y.com.sb/*
// @match        http*://yewtu.be/*
// @match        http*://yt.artemislena.eu/*
// @match        http*://yt.funami.tech/*
// @match        http*://yt.oelrichsgarcia.de/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=vern.cc
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var elements = document.querySelectorAll('.pure-u-md-20-24, .pure-u-md-5-6');
    var playerContainer = document.getElementById('player-container');
    var playerDimensions = document.getElementById('player');

    playerContainer.style.marginLeft = '0px';
    playerContainer.style.marginRight = '0px';
    playerContainer.style.marginTop = '20%';
    playerContainer.style.setProperty('padding-bottom', '55%', 'important');
    playerDimensions.style.setProperty('padding-top', '56.3%', 'important');

    for (var i = 0; i < elements.length; i++) {
        var element = elements[i];
        // Set the width to 100%
        element.style.width = '100%';

    }
})();