From 5e9aa201ae9ddd0892796ca047fc6a0cda51863b Mon Sep 17 00:00:00 2001 From: Gordon Beeming Date: Mon, 30 Oct 2023 02:30:52 +1000 Subject: [PATCH] Updating rel for all external links --- src/GordonBeemingCom/wwwroot/js/site.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GordonBeemingCom/wwwroot/js/site.js b/src/GordonBeemingCom/wwwroot/js/site.js index cff249a..d213d04 100644 --- a/src/GordonBeemingCom/wwwroot/js/site.js +++ b/src/GordonBeemingCom/wwwroot/js/site.js @@ -23,6 +23,7 @@ $(document).ready(function () { // Change the href to redirect to the local page /external with the encoded original link as a query string this.href = "/external?link=" + encodedLink; this.target = "_blank" + this.rel = "nofollow noopener external noreferrer" if (this.title.length > 0) { this.title = this.title + " | This is an external link, and will open in a new tab."; } else {