OvaGames DL Ad Bypasser

This skips the adlinks on the download buttons from Ovagames, giving you the direct link and skipping over Shrinkearn.

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         OvaGames DL Ad Bypasser
// @namespace    http://tampermonkey.net/
// @match        *://ovagames.com/*
// @match        *://www.ovagames.com/*
// @description  This skips the adlinks on the download buttons from Ovagames, giving you the direct link and skipping over Shrinkearn.
// @version      1.0
// @author       Mr Turban
// @grant        none
// ==/UserScript==

(() => {
    window.addEventListener('load', () => {
        document.querySelectorAll('.dl-wraps-item a').forEach(link => {
            const url = new URL(link.href).searchParams.get('url');
            if (url) link.href = atob(url);
        });
        const div = document.querySelector('.dl-wraps-item b');
        if (div) div.textContent = 'Download links below should now lead directly to the actual link instead of Shrinkearn.';
    });
})();