VRV Video Size Maximizer

Maximizes the vrv.co video display to the viewport

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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.

(I already have a user style manager, let me install it!)

// ==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());