Improved the javascript watching ?refferer for the backlink
This commit is contained in:
parent
f635ab298a
commit
f82174aba5
@ -76,7 +76,11 @@
|
|||||||
const referrer = urlParams.get('referrer')
|
const referrer = urlParams.get('referrer')
|
||||||
console.log("Referrer: " + referrer);
|
console.log("Referrer: " + referrer);
|
||||||
|
|
||||||
back_button.href = referrer;
|
if(referrer != null) {
|
||||||
|
back_button.href = referrer;
|
||||||
|
} else {
|
||||||
|
back_button.href = "https://privacynerd.de/";
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user