anchor target="_blank" always replaced by target="_top"
Answered
Netherland Dwarf posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Netherland DwarfOP
I've tried many ways using both a <Link> or a regular HTML anchor, and Nextjs always replaces the target attribute with _top, and gives an error in inspect
It doesn't matter if it's a client component or in the server component. Anyone know a solution? Using nextjs 13.5.4
Edit: was an extension messing with _blank links.
Prop `target` did not match. Server: "_top" Client: "_blank"
It doesn't matter if it's a client component or in the server component. Anyone know a solution? Using nextjs 13.5.4
Edit: was an extension messing with _blank links.
Answered by Netherland Dwarf
I'm a fool, it was an extension messing with _blank links. Sorry to waste your time!
2 Replies
![Avatar](https://cdn.discordapp.com/avatars/484037068239142956/f386ac21405ce3442e0f3598223e1cb3.webp?size=256)
joulev
could you make a minimal reproduction repository?
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Netherland DwarfOP
I'm a fool, it was an extension messing with _blank links. Sorry to waste your time!
Answer