From 2a4bf25d20b308d0607672baa7ea3aff89d437a2 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sun, 6 Feb 2022 21:57:32 +0000 Subject: [PATCH] feat: add more default attributes to the rel attribute in link mode (#1491) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1491 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/components/base/BaseButton.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/base/BaseButton.vue b/src/components/base/BaseButton.vue index 8096e8a8a7..f22dd82881 100644 --- a/src/components/base/BaseButton.vue +++ b/src/components/base/BaseButton.vue @@ -69,10 +69,10 @@ watchEffect(() => { } // if there is a href we assume the user wants an external link via a link element - // we also set the attribute rel to "noopener" but make it possible to overwrite this by the user. + // we also set a predefined value for the attribute rel, but make it possible to overwrite this by the user. if ('href' in attrs) { nodeName = 'a' - bindings = {rel: 'noopener'} + bindings = {rel: 'noreferrer noopener nofollow'} } componentNodeName.value = nodeName