From f82174aba5360ce13068d53404fc098ffbff152c Mon Sep 17 00:00:00 2001 From: BlueFox Date: Wed, 28 Feb 2024 07:50:18 +0100 Subject: [PATCH] Improved the javascript watching ?refferer for the backlink --- impressum.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/impressum.html b/impressum.html index ea56ff7..96d027e 100644 --- a/impressum.html +++ b/impressum.html @@ -76,7 +76,11 @@ const referrer = urlParams.get('referrer') console.log("Referrer: " + referrer); - back_button.href = referrer; + if(referrer != null) { + back_button.href = referrer; + } else { + back_button.href = "https://privacynerd.de/"; + }