Improved the javascript watching ?refferer for the backlink

This commit is contained in:
BlueFox 2024-02-28 07:50:18 +01:00
parent f635ab298a
commit f82174aba5
Signed by: BlueFox
GPG Key ID: 327233DA85435270

View File

@ -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/";
}
</script>
</body>
</html>