Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.querySelectorAll(".Estilo2")[0].innerHTML = "Email";
- document.querySelectorAll(".Estilo1 > a").forEach(function(e){var xhr = new XMLHttpRequest();xhr.open('GET', e.href, true);xhr.responseType = 'text';
- xhr.onload = function () {
- if (xhr.readyState === xhr.DONE) {
- if (xhr.status === 200) {
- e.innerHTML = xhr.responseText.match(/mailto:[^"]*/)[0].split(":")[1];
- }}};
- xhr.send(null);})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement