From e5496fcf90a91d9672d1e1169075632896423603 Mon Sep 17 00:00:00 2001 From: Matthew Nickson Date: Wed, 30 Mar 2022 19:00:35 +0100 Subject: [PATCH] Added Open "Source Code" link in a new tab #476 This just makes the links to the source code and Chart.js open in a new tab. The `rel="noopener noreferrer"` has been added to prevent security issues in older browsers. This is just an ease of use change that doesn't affect any of the core speedtest functionality in any way. Signed-off-by: Matthew Nickson --- docker/frontend.php | 2 +- docker/standalone.php | 2 +- example-multipleServers-full.html | 2 +- example-multipleServers-pretty.html | 2 +- example-singleServer-basic.html | 2 +- example-singleServer-chart.html | 2 +- example-singleServer-customSettings.html | 2 +- example-singleServer-full.html | 2 +- example-singleServer-gauges.html | 2 +- example-singleServer-pretty.html | 2 +- example-singleServer-progressBar.html | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docker/frontend.php b/docker/frontend.php index 366cdad..db179be 100755 --- a/docker/frontend.php +++ b/docker/frontend.php @@ -428,7 +428,7 @@ function initUI(){ - Source code + Source code - Source code + Source code - Source code + Source code -Source code +Source code - Source code + Source code diff --git a/example-singleServer-chart.html b/example-singleServer-chart.html index d0040e3..c936ff1 100755 --- a/example-singleServer-chart.html +++ b/example-singleServer-chart.html @@ -251,6 +251,6 @@ Abort Run speedtest -

Charts by Chart.js

Source code +

Charts by Chart.js

Source code diff --git a/example-singleServer-customSettings.html b/example-singleServer-customSettings.html index b1c0cfb..216ad82 100755 --- a/example-singleServer-customSettings.html +++ b/example-singleServer-customSettings.html @@ -166,7 +166,7 @@ function I(id){return document.getElementById(id);} -Source code +Source code diff --git a/example-singleServer-full.html b/example-singleServer-full.html index 823ef9f..69d26b1 100755 --- a/example-singleServer-full.html +++ b/example-singleServer-full.html @@ -317,7 +317,7 @@ function initUI(){ - Source code + Source code - Source code + Source code diff --git a/example-singleServer-pretty.html b/example-singleServer-pretty.html index 7715535..846c86b 100755 --- a/example-singleServer-pretty.html +++ b/example-singleServer-pretty.html @@ -184,7 +184,7 @@ function I(id){return document.getElementById(id);} IP Address: -Source code +Source code diff --git a/example-singleServer-progressBar.html b/example-singleServer-progressBar.html index f9e7007..63b2d8c 100755 --- a/example-singleServer-progressBar.html +++ b/example-singleServer-progressBar.html @@ -204,7 +204,7 @@ function I(id){return document.getElementById(id);} IP Address: -Source code +Source code