mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-26 04:24:22 +02:00
enhance(frontend): window.openやaタグにnoopenerオプションをつける (MisskeyIO#283)
This commit is contained in:
@@ -61,7 +61,7 @@ function onContextmenu(ev) {
|
||||
icon: 'ti ti-external-link',
|
||||
text: i18n.ts.openInNewTab,
|
||||
action: () => {
|
||||
window.open(props.to, '_blank');
|
||||
window.open(props.to, '_blank', 'noopener');
|
||||
},
|
||||
}, {
|
||||
icon: 'ti ti-link',
|
||||
|
||||
Reference in New Issue
Block a user