We have open-sourced an extension for M2 doing that.
May come handy if you need to send people to other websites for certain products (think about Amazon referral links, products that are available only with resellers or retail partners).
If there is an interest in that – I’ll share link in comments. Had experience of get banned by Reddit bots, so don’t post it immediately.
So if you are interested – upvote or comment here.