Misc/External Links

* try to prompt the brwoser to not send a referrer header when leaving the site.
This commit is contained in:
Sarjuuk
2025-04-10 23:54:49 +02:00
parent 43970189a6
commit 9a893e03d7

View File

@@ -4,7 +4,7 @@
// link to wowhead // link to wowhead
if (isset($this->redButtons[BUTTON_WOWHEAD])): if (isset($this->redButtons[BUTTON_WOWHEAD])):
if ($this->redButtons[BUTTON_WOWHEAD]): if ($this->redButtons[BUTTON_WOWHEAD]):
echo '<a href="'.$this->wowheadLink.'" rel="np" class="button-red"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>'; echo '<a href="'.$this->wowheadLink.'" rel="np" referrerpolicy="no-referrer" class="button-red"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>';
else: else:
echo '<a href="javascript:;" class="button-red button-red-disabled"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>'; echo '<a href="javascript:;" class="button-red button-red-disabled"><em><b><i>Wowhead</i></b><span>Wowhead</span></em></a>';
endif; endif;