[F.END] B.END URL as argument
This commit is contained in:
parent
3c1e2f69ec
commit
1741c2a0ca
|
@ -106,10 +106,13 @@ function zerocalcareDisplay() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function zerocalcareTrigger() {
|
function zerocalcareTrigger(url) {
|
||||||
|
if (typeof url !== "string")
|
||||||
|
return
|
||||||
|
|
||||||
xhr = new XMLHttpRequest();
|
xhr = new XMLHttpRequest();
|
||||||
xhr.onload = zerocalcareDisplay;
|
xhr.onload = zerocalcareDisplay;
|
||||||
xhr.open('GET', 'https://golem.linux.it/cgi/zerocalcare/main.py?interval=4weeks', true);
|
xhr.open('GET', url, true);
|
||||||
xhr.send(null);
|
xhr.send(null);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue