Frontend Masters Boost RSS Feed https://frontendmasters.com/blog Helping Your Journey to Senior Developer Tue, 26 Mar 2024 15:12:32 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 225069128 Arguments for opening links in a new tabĀ or window https://frontendmasters.com/blog/links-in-new-tabs/ https://frontendmasters.com/blog/links-in-new-tabs/#respond Tue, 26 Mar 2024 00:42:56 +0000 https://frontendmasters.com/blog/?p=1386 I feel like I’ve always been in the minority on this: I don’t think you should use target="_blank" on links. Unless you have a very good reason, that is, like there is currently-playing media that would stop, or a user has unsaved work you don’t want to interrupt. But I find that most people disagree, and have their own philosophy like “links to external sites should open in a new tab”. Jason Grigsby digs into this and enumerates the reasons people think this way, which is stuff like “well then they can get back to the original site easier”. That makes a smidge of sense, but it breaks the back button which I feel like is a stronger reason not to do it. And much crappier reasons like “it increases our time-on-site metric in Google Analytics.”

]]>
https://frontendmasters.com/blog/links-in-new-tabs/feed/ 0 1386