Skip Go to

Redirects directly to the final page without "Yes, I confirmed"

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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 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        Skip Go to
// @namespace   Violentmonkey Scripts
// @match       *://forums.socialmediagirls.com/goto/*
// @icon        https://cdn0.iconfinder.com/data/icons/arrow-2-1/512/826-21-512.png
// @grant       none
// @run-at      document-start
// @version     0.1
// @author      drak4r
// @description Redirects directly to the final page without "Yes, I confirmed"
// @license     GPLv3
// ==/UserScript==

(function() {
    'use strict';

    // Wait for the document to be completely loaded
    window.addEventListener('load', function() {
        // Select the link that contains the specific class
        const link = document.querySelector('a.button--cta.button');

        // Checks if the link exists
        if (link) {
            // Capture the href URL
            const url = link.href;

            // Redirects to the captured URL
            window.location.href = url;
        }
    });
})();