Skip to content

Instantly share code, notes, and snippets.

View mekanoe's full-sized avatar
✂️
cut it out

noe mekanoe

✂️
cut it out
View GitHub Profile
<!doctype html>
<script>
var get_info = function() {
var x = new XMLHttpRequest()
x.open("GET", "http://localhost:8080/requests/status.json", true);
x.onreadystatechange = function() {
if (x.readyState === 4) {
var tmp = JSON.parse(x.responseText),
L = {}
L.title = tmp.information.category.meta.title