Greasy Fork is available in English.

Metacritic: YouTube Game Review Search

Adds YouTube search links to Metacritic game pages

// ==UserScript==
// @name         Metacritic: YouTube Game Review Search
// @description  Adds YouTube search links to Metacritic game pages
// @version      0.7
// @author       mica
// @namespace    greasyfork.org/users/12559
// @match        https://www.metacritic.com/*
// @license      MIT
// ==/UserScript==

function makeLink() {
    setTimeout(() => {
        var title = document.querySelector('.c-productHero_title').innerText;
        var link = 'https://www.youtube.com/results?search_query=' + encodeURIComponent(title) + ' game review';
        var html = `
        <div style="margin: 0 0 0 27px">
            <a href="${link}">
            <p style="font-size: smaller; color: black; line-height: 17px; margin: 0">Search Reviews on</p>
            <svg viewBox="0 0 381 85">
                <path fill="red" d="M118.9 13.3c-1.4-5.2-5.5-9.3-10.7-10.7C98.7 0 60.7 0 60.7 0s-38 0-47.5 2.5C8.1 3.9 3.9 8.1 2.5 13.3 0 22.8 0 42.5 0 42.5s0 19.8 2.5 29.2C3.9 76.9 8 81 13.2 82.4 22.8 85 60.7 85 60.7 85s38 0 47.5-2.5c5.2-1.4 9.3-5.5 10.7-10.7 2.5-9.5 2.5-29.2 2.5-29.2s.1-19.8-2.5-29.3z"/>
                <path fill="white" d="M48.6 60.7l31.6-18.2-31.6-18.2z"/>
                <path d="M176.3 77.4c-2.4-1.6-4.1-4.1-5.1-7.6-1-3.4-1.5-8-1.5-13.6v-7.7c0-5.7.6-10.3 1.7-13.8 1.2-3.5 3-6 5.4-7.6 2.5-1.6 5.7-2.4 9.7-2.4 3.9 0 7.1.8 9.5 2.4 2.4 1.6 4.1 4.2 5.2 7.6 1.1 3.4 1.7 8 1.7 13.8v7.7c0 5.7-.5 10.2-1.6 13.7-1.1 3.4-2.8 6-5.2 7.6-2.4 1.6-5.7 2.4-9.8 2.4-4.2-.1-7.6-.9-10-2.5zm13.5-8.4c.7-1.7 1-4.6 1-8.5V43.9c0-3.8-.3-6.6-1-8.4-.7-1.8-1.8-2.6-3.5-2.6-1.6 0-2.8.9-3.4 2.6-.7 1.8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M274.2 15.7h-11.9v63.2h-11.7V15.7h-11.9V6h35.5v9.7zM342.8 34.2c-.7-3.4-1.9-5.8-3.5-7.3s-3.9-2.3-6.7-2.3c-2.2 0-4.3.6-6.2 1.9-1.9 1.2-3.4 2.9-4.4 4.9h-.1V3.3h-11.6v75.6h9.9l1.2-5h.3c.9 1.8 2.3 3.2 4.2 4.3 1.9 1 3.9 1.6 6.2 1.6 4.1 0 7-1.9 8.9-5.6 1.9-3.7 2.9-9.6 2.9-17.5v-8.4c-.1-6.1-.4-10.8-1.1-14.1zm-11 21.7c0 3.9-.2 6.9-.5 9.1-.3 2.2-.9 3.8-1.6 4.7-.8.9-1.8 1.4-3 1.4-1 0-1.9-.2-2.7-.7-.8-.5-1.5-1.2-2-2.1V38.1c.4-1.4 1.1-2.6 2.1-3.6 1-.9 2.1-1.4 3.2-1.4 1.2 0 2.2.5 2.8 1.4.7 1 1.1 2.6 1.4 4.8.3 2.3.4 5.5.4 9.6v7z"/>
            </svg>
            </a>
        </div>
        `;
        document.querySelector('.c-sectionHeader').insertAdjacentHTML('beforeend', html);
    }, 900)
}

var url;
setInterval(() => {
    if (url != location.href) {
        url = location.href;
        if (location.pathname.match('\/game\/.')) {
            makeLink();
        }
    }
}, 300)