Loot-Link Bypass

Fast auto bypasser

// ==UserScript==
// @name         Loot-Link Bypass
// @namespace    http://tampermonkey.net/
// @version      1
// @description  Fast auto bypasser
// @author       olhodocu On Discord
// @match        https://loot-link.com/s?*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    // Find all script elements on the page
    const scripts = document.getElementsByTagName('script');

    // Loop through all script elements
    for (let i = 0; i < scripts.length; i++) {
        const script = scripts[i];
        const scriptContent = script.innerHTML;

        // Check if the script contains the PUBLISHER_LINK pattern
        if (scriptContent.includes("p['PUBLISHER_LINK']")) {
            // Extract the link from the script content
            const linkRegex = /p\['PUBLISHER_LINK'\]\s*=\s*'(.+?)'/;
            const match = scriptContent.match(linkRegex);

            if (match && match.length > 1) {
                const redirectLink = match[1];

                // Redirect to the extracted link
                window.location.replace(redirectLink);
                break;
            }
        }
    }
})();