Metacritic - Hide Critic Scores

Hide critic scores, critic reviews, and critic platform sections on Metacritic game pages (leave only user scores visible)

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         Metacritic - Hide Critic Scores
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Hide critic scores, critic reviews, and critic platform sections on Metacritic game pages (leave only user scores visible)
// @author       W2B
// @match        https://www.metacritic.com/game/*
// @run-at       document-idle
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    const css = `
        /* Critic score box under the title */
        .g-inner-spacing-bottom-medium.u-clearfix.c-productScoreInfo { display: none !important; }

        /* The first review summary block (critic reviews) */
        .g-inner-spacing-bottom-medium.g-inner-spacing-top-medium.c-productHero_details--desktop.c-gameReviews > div.c-reviewWrapper:nth-of-type(1) { display: none !important; }

        /* Platform section showing critic-based summaries */
        .g-outer-spacing-bottom-medium.g-grid-container.c-gamePlatformsSection { display: none !important; }

        /* Entire critic reviews section */
        .c-reviewsSection_criticReviews { display: none !important; }

        .c-reviewsSection_carouselContainer-critic,
        .c-reviewsSection_criticReviews {
            display: none !important;
        }

    `;

    const style = document.createElement('style');
    style.textContent = css;
    document.head.appendChild(style);
})();