enhance(frontend): window.openやaタグにnoopenerオプションをつける (MisskeyIO#283)

This commit is contained in:
まっちゃとーにゅ
2023-12-08 17:48:18 +09:00
committed by syuilo
parent c54d1cdde2
commit ab5d2eca1f
12 changed files with 20 additions and 20 deletions

View File

@@ -120,7 +120,7 @@ const headerActions = computed(() => [{
text: i18n.ts.openInNewTab,
icon: 'ti ti-external-link',
handler: () => {
window.open(file.value.url, '_blank');
window.open(file.value.url, '_blank', 'noopener');
},
}]);