ementById('passwordInput').value;
        const best = document.getElementById('alwaysBest').checked;
        const randomName = document.getElementById('randomName').checked;
        const proxyFormat = document.getElementById('proxyFormat').value;
        const ipv6 = document.getElementById('ipv6').checked;
        // Get the directory part of location.pathname
        const basePath = location.pathname.substring(0, location.pathname.lastIndexOf('/') + 1);
        // Construct the baseUrl
        const b