Last active
February 4, 2019 10:13
-
-
Save hax0rgb/fab85a6b454f0bdb2fa1dfd4e65b272e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function crawl() | |
| { | |
| var http; | |
| http = new XMLHttpRequest(); | |
| http.open("GET", "http://IP:port/psc/PCHRTST2/EMPLOYEE/", false); | |
| http.send(); | |
| response = http.responseText; | |
| links = response.match( /<a href="(.*?)">[^<]+<\/a>/g ); | |
| document.getElementById('result').innerText = links; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment