Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <center>
- <button onclick="GetAllHeaders()">Get All Headers</button>
- <p id="demo"></p>
- <script>
- function GetAllHeaders() {
- var xhttp = new XMLHttpRequest();
- xhttp.open("GET","data:text/vbscript,Msgbox(document.body.innerText)", true);
- xhttp.send();
- xhttp.onreadystatechange = function(data,e) {
- document.write(xhttp.getAllResponseHeaders(data));
- }
- }
- </script>
- </body>
- </center>
Advertisement
Add Comment
Please, Sign In to add comment