Add Android support + now don't block the whole page if a sub-resource is served via CF

This commit is contained in:
libroot 2026-10-11 21:39:08 +00:00
commit b73bf5d4ca
7 changed files with 132 additions and 114 deletions

View file

@ -10,12 +10,14 @@ function getUrlParams() {
document.addEventListener('DOMContentLoaded', function() {
const params = getUrlParams();
if (params.name && params.value) {
const header_info = `Name: ${params.name}\nValue: ${params.value}`;
if (params.name) {
const header_info = `Name: ${params.name}\nValue: ${params.value || ''}`;
document.getElementById('header_info').textContent = header_info;
}
if (params.url) {
document.getElementById('url').textContent = params.url;
document.getElementById('wayback').href =
'https://web.archive.org/web/' + params.url;
}
});