t t = translations[currentLang];
            alert(t.pleaseGenerate);
            return null;
          }

          const [user, domain] = addr.split("@");
          return { user, domain };
        }

        function genEmail() {
          $.getJSON(
            "https://www.1secmail.com/api/v1/?action=genRandomMailbox&count=1",
            (res) => {
              currentEmail = res[0];
              localStorage.setItem('currentEmail', currentEmail);
              $("#addr").val(currentEmail);
       