New design

This commit is contained in:
edsea
2025-08-02 23:39:14 +02:00
parent 0e90e1f409
commit 9634a3ea80
83 changed files with 7539 additions and 2471 deletions

21
rss/js/properties.js Normal file
View File

@@ -0,0 +1,21 @@
document.addEventListener('DOMContentLoaded', async () =>{
await getParams();
})
async function getParams() {
const queryString = window.location.search;
const params = new URLSearchParams(queryString);
const paramsObject = {};
for (const key of params.keys()) {
if (key.endsWith('[]')) {
const cleanKey = key.replace('[]', '');
paramsObject[cleanKey] = params.getAll(key);
} else {
paramsObject[key] = params.get(key);
}
}
return paramsObject;
}