Hide paramount plus side bar

Hide annoying sidebar on paramount

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.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

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         Hide paramount plus side bar
// @namespace    http://tampermonkey.net/
// @version      2026-02-08
// @description  Hide annoying sidebar on paramount
// @author       Furty
// @match        https://www.paramountplus.com/live-tv/stream/ufc/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=paramountplus.com
// @grant        none
// @license      GPL-3.0-or-later
// ==/UserScript==

(function() {
'use strict';

    // Create and inject the CSS rule
    const style = document.createElement('style');
    style.textContent = `
        .skin-sidebar-plugin {
            display: none !important;
        }
    `;
    document.head.appendChild(style);

    // Optional: Also hide any already existing elements (in case page is already loaded)
    const hideElements = () => {
        document.querySelectorAll('.skin-sidebar-plugin').forEach(el => {
            el.style.display = 'none';
        });
    };

    // Run once immediately
    hideElements();

    // Watch for dynamically added elements (common on modern sites)
    const observer = new MutationObserver((mutations) => {
        hideElements();
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true
    });
})();