Is it Possible to Add this Feature with some script or Code

Hey Everyone !

I Just wanted to ask is it possible to add the below redirect page feature in discourse when some user clicks on an external link.

Benefits

  1. We can add adsense code here and generate a little extra revenue.
  2. It will warn the user that they are visiting some other site.

Feature Inspired from here : Click here and then click on visit direct link.