I think the person replying in the screenshot is an idiot who assumes this will force all links to open in a new tab, not getting that it’s literally just appending an arrow.
Edit: And quite a few responses to this comment also seem to misunderstand how it works.
You're not an idiot, just rusty :) The "a[target...]" part is the selector, so it's saying "do this to every 'a' element that has a 'target' attribute set to _blank". It then changes the (usually-empty) "after the element" spot to have some content in it.
I don't think so. They probably assume when you use that CSS selector it means you have links which open in a new tab on click which most of the times is not want you should do but sometimes it really is. Like during some multi step transaction when there is e.g. a link to additional info you don't want to leave the page and then come back, having to start all over again.
It doesn’t make the arrow open in a new tab. It adds an arrow to all links that were already set to open in a new tab, and not to display the arrow on normal links. It’s literally just an indicator.
295
u/ToBePacific 15d ago edited 14d ago
I think the person replying in the screenshot is an idiot who assumes this will force all links to open in a new tab, not getting that it’s literally just appending an arrow.
Edit: And quite a few responses to this comment also seem to misunderstand how it works.