| commit | 28c16558fded58fc7f98bec83ad016908e8cf9c4 | [log] [tgz] |
|---|---|---|
| author | j <[email protected]> | Thu Oct 18 18:29:38 2018 -0700 |
| committer | GitHub <[email protected]> | Thu Oct 18 18:29:38 2018 -0700 |
| tree | ccf1e2fe64b7fefcdf3d59b370ee908db10b2d75 | |
| parent | ec6e4fa7fedf47e2aabe2d6fdc32d16dbf9e0941 [diff] |
Update init.js
diff --git a/init.js b/init.js index a1a7330..11ed6d3 100644 --- a/init.js +++ b/init.js
@@ -3,3 +3,11 @@ console.log("[DTPS] " + msg); } dtps.log("It's alive!"); +var xhttp = new XMLHttpRequest(); + xhttp.onreadystatechange = function() { + if (this.readyState == 4 && this.status == 200) { + dtps.log(this.responseText); + } + }; + xhttp.open("GET", "bookmark.txt", true); + xhttp.send();