Ask browsers to not send referrer for external links
This commit is contained in:
parent
dd23c87e09
commit
3772da7f63
@ -19,4 +19,8 @@ $(function() {
|
|||||||
$('input[data-behavior=focus]:first').focus().select();
|
$('input[data-behavior=focus]:first').focus().select();
|
||||||
|
|
||||||
$('[data-toggle="popover"]').popover({ html: true });
|
$('[data-toggle="popover"]').popover({ html: true });
|
||||||
|
|
||||||
|
if ($('meta[name=referrer][content=none]').length > 0) {
|
||||||
|
$('a[href*=http]').attr('rel', 'noreferrer');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user