enhance(frontend): window.openやaタグにnoopenerオプションをつける (MisskeyIO#283)
This commit is contained in:
parent
c54d1cdde2
commit
ab5d2eca1f
12 changed files with 20 additions and 20 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue