My company is required to have "You are now leaving our site" pages for each link on our site leading to an external site. For compliance, it is also required that the process uses an actual page instead of a pop-up. So, when we have visitors on page "A" click the link ExternalSite.com link, they get redirected to page "B" with a 20 second delay and warning message about leaving the site.
What I don't want to do is have to create a separate page "B" for every external link throughout our site. What can I do to make a single master page "B" that onclick will grab the URL for the external site and auto-populate it into the page "B" master?
My existing code is below.
Current Page "A" HTML:
For more information on widgets, visit <a href="/Page-B/" alt="External Site">Extrernal Site</a>
Current Page "B" HTML:
var x = 20
var y = 1
x = x-y
<h1>You Are Now Leaving The Our Business Web Site</h1>
Click the link below to continue or wait 20 seconds to be transferred to: