mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-22 09:24:22 +02:00
enhance(frontend): window.openやaタグにnoopenerオプションをつける (MisskeyIO#283)
This commit is contained in:
@@ -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');
|
||||
},
|
||||
}]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user