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

This commit is contained in:
まっちゃとーにゅ 2023-12-08 17:48:18 +09:00 committed by GitHub
parent 3c79605460
commit 1c18b23912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 20 additions and 20 deletions

View file

@ -23,7 +23,7 @@ const query = ref(props.q);
const search = () => {
const sp = new URLSearchParams();
sp.append('q', query.value);
window.open(`https://www.google.com/search?${sp.toString()}`, '_blank');
window.open(`https://www.google.com/search?${sp.toString()}`, '_blank', 'noopener');
};
</script>