Bypass Link Confirmation

Automatically bypasses redirect/warning pages on selected websites.

Pada tanggal 24 Juni 2025. Lihat %(latest_version_link).

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Bypass Link Confirmation
// @namespace    https://greasyfork.org/en/scripts/540638-bypass-link-confirmation
// @version      1.1
// @description  Automatically bypasses redirect/warning pages on selected websites.
// @match        *://forums.socialmediagirls.com/goto/link-confirmation*
// @match        *://*.stremio.com/warning*
// @run-at       document-start
// @license      MIT
// ==/UserScript==

(function () {
    const hostname = window.location.hostname;

    // Bypass SocialMediaGirls confirmation
    if (hostname.includes("socialmediagirls.com")) {
        const urlParam = new URLSearchParams(window.location.search).get("url");
        if (urlParam) {
            try {
                const decodedUrl = atob(urlParam);
                window.location.replace(decodedUrl);
            } catch (e) {
                console.error("Failed to decode SocialMediaGirls URL:", e);
            }
        }
    }

    // Bypass Stremio warning
    if (hostname.includes("stremio.com") && window.location.pathname === "/warning") {
        const hash = window.location.hash;
        if (hash.startsWith("#https")) {
            try {
                const targetUrl = decodeURIComponent(hash.substring(1));
                window.location.replace(targetUrl);
            } catch (e) {
                console.error("Failed to decode Stremio URL:", e);
            }
        }
    }
})();