Use rel=noopener

This commit is contained in:
Eduard Urbach 2018-11-18 00:45:30 +09:00
parent 1bd572cf3c
commit 2dc0d9e7c0
2 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ component ProfileHead(viewUser *arn.User, user *arn.User, uri string)
RawIcon("ellipsis-h") RawIcon("ellipsis-h")
if viewUser.Website != "" if viewUser.Website != ""
a.profile-tag.tip.mountable.never-unmount.show-more(href=viewUser.WebsiteURL(), target="_blank", rel="nofollow", aria-label=viewUser.WebsiteShortURL(), data-mountable-type="header") a.profile-tag.tip.mountable.never-unmount.show-more(href=viewUser.WebsiteURL(), target="_blank", rel="noopener", aria-label=viewUser.WebsiteShortURL(), data-mountable-type="header")
RawIcon("globe") RawIcon("globe")
if viewUser.Accounts.Osu.Nick != "" && viewUser.Accounts.Osu.PP >= 100 if viewUser.Accounts.Osu.Nick != "" && viewUser.Accounts.Osu.PP >= 100

View File

@ -12,13 +12,13 @@ component SettingsExtras(user *arn.User)
.widget-section .widget-section
label Chrome Extension: label Chrome Extension:
a.button(href="https://chrome.google.com/webstore/detail/anime-notifier/hajchfikckiofgilinkpifobdbiajfch", target="_blank", rel="nofollow") a.button(href="https://chrome.google.com/webstore/detail/anime-notifier/hajchfikckiofgilinkpifobdbiajfch", target="_blank", rel="noopener")
Icon("chrome") Icon("chrome")
span Get the Chrome Extension span Get the Chrome Extension
.widget-section .widget-section
label Firefox Extension: label Firefox Extension:
a.button(href="https://addons.mozilla.org/en-US/firefox/addon/anime-notifier/", target="_blank", rel="nofollow") a.button(href="https://addons.mozilla.org/en-US/firefox/addon/anime-notifier/", target="_blank", rel="noopener")
Icon("firefox") Icon("firefox")
span Get the Firefox Extension span Get the Firefox Extension