https://www.stretchoid.com/

URL inviato:
https://www.stretchoid.com/
Report terminato:

Variabili JavaScript · 5 trovate

NomeTipo
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
$function
jQueryfunction

Messaggi di log della console · 0 trovati

HTML

<html><head>
        <title>Stretchoid Opt-Out</title>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
        <script>
            $(document).ready(function(){
                $("button").click(function(e){
                    e.preventDefault();
                    let cidr = document.getElementById("cidr").value;
                    if (!cidr) {
                      message = "Not a valid CIDR. Please use notation like 150.150.150.0/24"
                      const elem = document.getElementById("cidrError");
                      elem.textContent = message;
                      elem.style.color = 'red';
                      return
                    }
                    data = {
                        name: document.getElementById("name").value,
                        email: document.getElementById("email").value,
                        ipAddress: cidr,
                        note: document.getElementById("notes").value
                    };

                    $.ajax({
                        url: "optout",
                        type: "POST",
                        data: JSON.stringify(data),
                        contentType: "application/json; charset=utf-8",
                        timeout: 5000,
                        success: function(response_data,s) {
                            message = "Thank you for opting out (CIDR block " + cidr + ").";
                            $("div").html(message);
                        },
			error: function(response_data,s) {
                            message = "There was an error submitting your request.  Please refresh the page and try again";
                            $("div").html(message);
			}
                    });

                });
            });
        </script>
        <link href="https://fonts.googleapis.com/css2?family=Raleway&amp;display=swap" rel="stylesheet">
        <link href="index.css" rel="stylesheet">
        <link rel="icon" href="data:;base64,iVBORw0KGgo=">
    </head>
    <body>
        <div class="main-container">
            <div class="logo">
                <img src="logo.png" alt="Stretchoid" width="325" height="200">

            </div>
            <hr class="line1">
            <div class="description">
                <p>
                    Stretchoid is a platform that helps identify an organization's online services.
                </p>
                <p>
                    Sometimes this activity is incorrectly identified by security systems, such as firewalls, as malicious.  Our activity is completely harmless.  However, if you would prefer that we do not scan your infrastructure, please submit the following information:
                </p>
            </div>
            <div class="opt-out-form">
                <form>
                    <label for="name">Name:</label>
                    <input type="text" id="name" name="name" placeholder="John Doe">

                    <label for="email">Email:</label>
                    <input type="email" id="email" name="email" placeholder="[email protected]">

                    <label for="cidr">CIDR Block:</label>
                    <div id="cidrError"></div>
                    <input type="text" id="cidr" name="cidr" placeholder="10.0.0.1/24">

                    <label for="notes">Additional Information:</label>
                    <textarea id="notes" name="notes" placeholder="We are opting out ..." style="height: 200px"></textarea>

                    <button>Opt Out</button><br>
                </form>
            </div>
            <div class="padding"></div>
        </div>
    

</body></html>