From 61ff19e3e35baf418811214af49d057a1a603233 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 30 Nov 2020 12:09:40 +0530 Subject: [PATCH] Add SSL Score. --- src/components/Preferences.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/components/Preferences.vue b/src/components/Preferences.vue index c09d207c..1959aace 100644 --- a/src/components/Preferences.vue +++ b/src/components/Preferences.vue @@ -8,6 +8,7 @@ Instance Name Instance Locations Has CDN? + SSL Score @@ -15,6 +16,11 @@ {{ instance.name }} {{ instance.locations }} {{ instance.cdn }} + + Click Here + @@ -79,6 +85,13 @@ export default { onChange() { if (localStorage) localStorage.setItem("instance", this.selectedInstance); + }, + sslScore(url) { + return ( + "https://www.ssllabs.com/ssltest/analyze.html?d=" + + new URL(url).host + + "&latest" + ); } } };