Loading external URLs in original tab

Hi does anyone know how I can load an external URL (from a CMS collection) in the original tab once a button is pushed and opens in a new tab.

Here’s an example use case, click GET CODE on a deal. The code is shown in the new tab and the affiliate link is loaded in the original tab TroopScout - Military Discounts & Voucher Codes