Metacritic - Hide Critic Scores

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey 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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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