Add Android support + now don't block the whole page if a sub-resource is served via CF
This commit is contained in:
parent
e90ff542b0
commit
b73bf5d4ca
7 changed files with 132 additions and 114 deletions
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue