Commit d3f583c9 authored by Chocobozzz's avatar Chocobozzz Committed by muxator

referer: do not send referrer when opening a link

This change augments what was already done in 54e0f2de5b20 (PR with discussion
at #3636).

For documentation about the meaning of "noopener, noreferrer", see:
https://developer.mozilla.org/en-US/docs/Web/API/Window/open#Window_functionality_features
parent c1c58fa7
Pipeline #819 passed with stage
in 58 seconds
......@@ -3374,8 +3374,7 @@ function Ace2Inner(){
{
try
{
var newWindow = window.open(n.href, '_blank');
newWindow.focus();
window.open(n.href, '_blank', 'noopener,noreferrer');
}
catch (e)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment