second commit

This commit is contained in:
2026-03-11 23:03:02 +01:00
parent 3bd07d9bb4
commit 948a778f42
6 changed files with 691 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/*
** tools.js
** GNU GENERAL PUBLIC LICENSE: (c) DD miraceti.net
*/
let s = function(sel) { return document.querySelector(sel); };
let sId = function(sel) { return document.getElementById(sel); };
let isJsonObject = function(value) { return value !== undefined && value !== null && typeof value === 'object'; }
let to_date = function(unixtimestamp) { return new Date(parseInt(unixtimestamp)*1000).toLocaleString(); }