VRV Video Size Maximizer

Maximizes the vrv.co video display to the viewport

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name VRV Video Size Maximizer
// @description Maximizes the vrv.co video display to the viewport
// @namespace matthock
// @version 4
// @match https://vrv.co/*
// ==/UserScript==
  
function initCSS() {
  const ele= document.createElement('style');
  ele.type = 'text/css';
  ele.innerHTML = `
    .erc-header {
      order: 2;
    }
    .app-body-wrapper {
      order: 1;
    }
    .app-footer-wrapper {
      order: 3;
    }
    .erc-header .header-content {
      position: relative;
    }
    .watch-page-container .video-player-wrapper {
      max-width: 99vw;
      max-height: 99vh;
    }
    .erc-shelf-feed-item:not(#recommendations):not(#continue_watching):not(#browse_popular):not(#browse_newly){
      display: none;
    }
    .erc-view-all-feed-section {
      display: none;
    }
  `;
  document.head.appendChild(ele);
}

if (document.readyState!='loading') initCSS();
else document.addEventListener('DOMContentLoaded', initCSS());