From 7fa072e36f7dd47b6f1f21a786d0f28e735f3f1a Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 18 Jan 2023 00:59:30 +0100 Subject: [PATCH] using noopener on anchors --- frontend/src/ts/ready.ts | 2 +- frontend/static/html/pages/settings.html | 6 +++++- frontend/static/html/popups.html | 6 ++++++ frontend/static/security-policy.html | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/frontend/src/ts/ready.ts b/frontend/src/ts/ready.ts index adf7d7363..2d076cfa0 100644 --- a/frontend/src/ts/ready.ts +++ b/frontend/src/ts/ready.ts @@ -43,7 +43,7 @@ $(document).ready(() => { } if (!window.localStorage.getItem("merchbannerclosed")) { Notifications.addBanner( - `Check out our merchandise, available at monkeytype.store`, + `Check out our merchandise, available at monkeytype.store`, 1, "./images/merch2.png", false, diff --git a/frontend/static/html/pages/settings.html b/frontend/static/html/pages/settings.html index 31cf92a8c..4df3cab6d 100644 --- a/frontend/static/html/pages/settings.html +++ b/frontend/static/html/pages/settings.html @@ -2417,7 +2417,11 @@ Generate Ape Keys to access certain API endpoints ( - + documentation ).  diff --git a/frontend/static/html/popups.html b/frontend/static/html/popups.html index dab33cbae..149e2fa31 100644 --- a/frontend/static/html/popups.html +++ b/frontend/static/html/popups.html @@ -996,6 +996,7 @@ class="button" target="_blank" href="mailto:jack@monkeytype.com?subject=[Question] " + rel="noopener" >
@@ -1007,6 +1008,7 @@ class="button" target="_blank" href="mailto:jack@monkeytype.com?subject=[Feedback] " + rel="noopener" >
@@ -1018,6 +1020,7 @@ class="button" target="_blank" href="mailto:jack@monkeytype.com?subject=[Bug] " + rel="noopener" >
@@ -1029,6 +1032,7 @@ class="button" target="_blank" href="mailto:jack@monkeytype.com?subject=[Account] " + rel="noopener" >
@@ -1040,6 +1044,7 @@ class="button" target="_blank" href="mailto:jack@monkeytype.com?subject=[Business] " + rel="noopener" >
@@ -1051,6 +1056,7 @@ class="button" target="_blank" href="mailto:jack@monkeytype.com?subject=[Other] " + rel="noopener" >
diff --git a/frontend/static/security-policy.html b/frontend/static/security-policy.html index ab398756b..73aaf18f3 100644 --- a/frontend/static/security-policy.html +++ b/frontend/static/security-policy.html @@ -136,7 +136,7 @@ availability of Monkeytype services, please send your disclosure via (1) - email + email ,  or (2) ping