Initial commit

This commit is contained in:
2023-06-19 00:32:51 +02:00
parent db849fd21f
commit 89612f02b6
281 changed files with 2199 additions and 0 deletions

12
lib/images/load_html.js Normal file
View File

@@ -0,0 +1,12 @@
document.querySelectorAll('.url_insert').forEach(url_insert);
function url_insert(el) {
var url = el.dataset.url;
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
el.innerHTML = this.response;
}
};
xhttp.open("GET", url, true);
xhttp.send();
}