https://firox.xyz/offsets

Submitted URL:
https://firox.xyz/offsets
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 4 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

Console log messages · 1 found

Messages logged to the web console

HTML

The raw HTML body of the page

<!DOCTYPE html><html lang="en"><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Offsets @ Firox.xyz</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #333;
            color: #fff;
            font-family: Consolas, monospace;
        }
        header {
            text-align: center;
            margin: 20px;
        }
        .glow-text {
            color: #d7aaff;
            font-size: 26px;
            text-shadow: 0 0 10px #d7aaff;
        }
        .button-container {
            text-align: center;
            margin: 20px;
        }
        .button {
            background: #444;
            color: #fff;
            border: 2px solid #d7aaff;
            padding: 10px 20px;
            text-decoration: none;
            border-radius: 10px;
            margin: 0 10px;
            display: inline-block;
        }
        .button:hover {
            background: #555;
        }
        .download-link {
            display: none;
            color: #d7aaff;
            text-decoration: underline;
            cursor: pointer;
        }
        .info-text {
            text-align: center;
            margin-top: 10px;
            font-size: 16px;
            color: #d7aaff;
        }
        .box {
            display: none;
            margin: 20px auto;
            padding: 5px 15px;
            border: 2px solid #d7aaff;
            border-radius: 10px;
            max-width: 406px;
            background: #222;
            color: #d7aaff;
            box-shadow: 0 0 15px #d7aaff;
            text-align: left;
            box-sizing: border-box;
            white-space: pre-wrap;
            word-break: break-word;
        }
        .box-content {
            font-size: 17px;
            line-height: 1.5;
        }
        .show {
            display: block;
        }
        #returnButton {
            display: none;
        }
    </style>
</head>
<body>
    <header>
        <div class="glow-text">Offsets @ firox.xyz</div>
        <div class="button-container">
            <a href="#" class="button" id="returnButton">Return to Dashboard</a>
            <a href="#" class="download-link" id="downloadLink">Download Offsets (.txt)</a>
        </div>
    </header>
    <div class="button-container">
        <a href="#" class="button" id="robloxButton">Roblox</a>
        <a href="#" class="button" id="fortniteButton">Fortnite</a>
    </div>
    <div class="info-text">
        If an offset is missing it means it wasn't updated, you may use your old one.
    </div>
    <div id="robloxBox" class="box">
        <pre id="robloxContent" class="box-content"></pre>
    </div>
    <div id="fortniteBox" class="box">
        <pre id="fortniteContent" class="box-content"></pre>
    </div>

    <script>
        function loadContent(fileName, contentId, removeRegex, isFortnite) {
            fetch(`offsets/${fileName}`)
                .then(response => response.text())
                .then(data => {
                    let processedData = data
                        .replace(removeRegex, '')
                        .replace(/^\s+/gm, '')
                        .replace(/"/g, '')
                        .replace(/:/g, ' = ')
                        .replace(/;/g, '')
                        .replace(/,/g, '')
                        .trim();

                    if (isFortnite) {
                        processedData = processedData
                            .replace(/\n/g, '<br>')
                            .replace(/^\s+|\s+$/g, '')
                            .replace(/  /g, ' ')
                            .replace(/^\s+/gm, '');
                    } else {
                        processedData = processedData
                            .replace(/\n/g, '<br>')
                            .replace(/^\s+|\s+$/g, '');
                    }

                    document.getElementById(contentId).innerHTML = processedData;
                })
                .catch(error => console.error('Error loading content:', error));
        }

        document.getElementById('robloxButton').addEventListener('click', function() {
            document.getElementById('robloxBox').classList.add('show');
            document.getElementById('fortniteBox').classList.remove('show');
            document.getElementById('robloxButton').style.display = 'none';
            document.getElementById('fortniteButton').style.display = 'none';
            document.getElementById('returnButton').style.display = 'inline-block';
            document.getElementById('downloadLink').style.display = 'inline-block';
            document.getElementById('downloadLink').setAttribute('href', 'offsets/roblox.txt');
            document.getElementById('downloadLink').setAttribute('download', 'roblox.txt');
            loadContent('roblox.txt', 'robloxContent', /constexpr std::uint32_t\s+/g, false);
        });

        document.getElementById('fortniteButton').addEventListener('click', function() {
            document.getElementById('fortniteBox').classList.add('show');
            document.getElementById('robloxBox').classList.remove('show');
            document.getElementById('fortniteButton').style.display = 'none';
            document.getElementById('robloxButton').style.display = 'none';
            document.getElementById('returnButton').style.display = 'inline-block';
            document.getElementById('downloadLink').style.display = 'inline-block';
            document.getElementById('downloadLink').setAttribute('href', 'offsets/fortnite.txt');
            document.getElementById('downloadLink').setAttribute('download', 'fortnite.txt');
            loadContent('fortnite.txt', 'fortniteContent', /uintptr_t\s+/g, true);
        });

        document.getElementById('returnButton').addEventListener('click', function() {
            document.getElementById('robloxBox').classList.remove('show');
            document.getElementById('fortniteBox').classList.remove('show');
            document.getElementById('robloxButton').style.display = 'inline-block';
            document.getElementById('fortniteButton').style.display = 'inline-block';
            document.getElementById('returnButton').style.display = 'none';
            document.getElementById('downloadLink').style.display = 'none';
        });
    </script>


</body></html>