CINXE.COM
BIS-Redirect
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- BIS Redirect Page Created by Million D. Gebreyesus --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>BIS-Redirect</title> <link rel="stylesheet" type="text/css" href="Redirect.css"> <link rel="icon" type="image/vnd.microsoft.icon" href="BIS_Logo.ico"> <script src="https://code.jquery.com/jquery-3.6.1.slim.min.js" integrity="sha256-w8CvhFs7iHNVUtnSP0YKEg00p9Ih13rlL9zGqvLdePA=" crossorigin="anonymous"></script> </head> <script> $(document).ready(function(){ var myURLParams = window.location.search; var myParamSearch = new URLSearchParams(myURLParams); const destination = myParamSearch.get("destination"); //allowed redirect urls const allowed = new Map([ ["Twitter", "https://www.twitter.com/BISgov"], ["Youtube", "https://www.youtube.com/user/CommerceNews"], ["Facebook", "https://www.facebook.com/Commercegov"], ["ECQSG", "https://youtu.be/Ihy5wPTITOM"], ["ECQSGwVA", "https://youtu.be/LuR9Wiuz67U"], ["ECCYI", "https://youtu.be/y4WKYHstLAU"], ["ECCYIwVA", "https://youtu.be/kdbuK4W5g8M"], ["CEECP", "https://youtu.be/3kL844qlreE"], ["CEECPwVA", "https://youtu.be/tLBKG1pfyeY"], ["SHSA", "https://youtu.be/Uv7nUIXfjyE"], ["SHSAwVA", "https://youtu.be/83Q5EOZY-2s"], ["SCR", "https://youtu.be/gRuK926bjyM"], ["SCRwVA", "https://youtu.be/xns_9m22Hsc"], ["SLA", "https://youtu.be/R060kGNDsq0"], ["SLAwVA", "https://youtu.be/unrcDnNtv7g"], ["AISD", "https://youtu.be/sSn25_BPXag"], ["AISDwVA", "https://youtu.be/rAAD0lONgsU"], ["DE", "https://youtu.be/yhOpIq4oPFc"], ["DEwVA", "https://youtu.be/TdilwOLUM6g"], ["LEwVA", "https://youtu.be/RFHEhyD6ug0"], ["HSALBI", "https://www.youtube.com/watch?v=DtYWgp8y6dI&feature=youtu.be"], ["HSALBIwVA", "https://www.youtube.com/watch?v=WU5CBSGVlK0&feature=youtu.be"], ["ROT", "https://www.youtube.com/watch?v=pkz8n8b3HsI"], ["ROTwVA", "https://youtu.be/7PRXdZWhBxE"], ["ECFRGOV", "https://www.ecfr.gov/cgi-bin/ECFR?SID=9ae4a21068f2bd41d4a5aee843b63ef1&;page=simple"], ["NSPA", "https://eportal.nspa.nato.int/Registration/OnlineRegistration.aspx?lng=en"], ["SACT", "https://www.act.nato.int/contracting"] ]); //console.log("Destination: " + destination); $("#redirectLink").click(function(){ //validate query string param if(allowed.has(destination)){ window.open(allowed.get(destination), '_blank'); } else { console.log("Invalid query param."); } }); }); </script> <body> <div class="Container"> <div class="Content"> <img src="BIS_Logo.png" alt="BIS Logo"><br /> <h3 class="Outro" style="color:#FF0000;">You are now leaving the BIS Web Site, click on continue to be redirected.</h3> <p class="Outro">Thank you for visiting our site.</p> <p class="Outro"><span id="linkLeft" style="text-align:left"><a href="https://www.bis.doc.gov">Back to the BIS Web Site</a></span> <span id="linkRight" style="text-align:right"><a id="redirectLink" href="javascript:void(0);">Continue to the external site</a></span> </p> </div> </div> </body> </html>