Browse Source

new speedtest

master
c? 1 month ago
parent
commit
73e8575f04
2 changed files with 33 additions and 2 deletions
  1. +29
    -0
      content/speed.md
  2. +4
    -2
      content/speedtest.md

+ 29
- 0
content/speed.md View File

@@ -0,0 +1,29 @@
---
title: "speedtest v3 beta"
draft: false
---
<iframe id="speedtest-frame" style="border: none;overflow: hidden;" src="https://okabe.coltondrg.com/speed/" width="100%" height="350px" scrolling="no"></iframe>

_this speedtest is hosted at [coltondrg.com project server](https://okabe.coltondrg.com/)_

_this is the speedtest v3 beta (with [drg network research](https://fast.drg.moe/) integration)_

_the test will first contact the server a few times to test latency and jitter for a few seconds, then it will download garbage data for ten seconds, then upload garbage data for five seconds. the test will consume as much data as your internet connection or the server can handle for the duration of the test._

_[back to the stable version](/speedtest/)_

<script type="text/javascript">
if(window.location.hostname.includes("coltondrg.com")){document.domain = "coltondrg.com";}
var speedFrame = document.getElementById("speedtest-frame");
setInterval(function() {
if( navigator.userAgent.toLowerCase().indexOf("firefox") > -1 ) {
if ( speedFrame.style.height != speedFrame.contentWindow.document.body.scrollHeight + 'px' ) {
speedFrame.style.height = speedFrame.contentWindow.document.body.scrollHeight + 'px';
}
} else {
if ( speedFrame.style.height != speedFrame.contentWindow.document.body.scrollHeight - 120 + 'px' ) {
speedFrame.style.height = speedFrame.contentWindow.document.body.scrollHeight - 120 + 'px';
}
}
}, 500);
</script>

+ 4
- 2
content/speedtest.md View File

@@ -2,14 +2,16 @@
title: "speedtest"
draft: false
---
<iframe id="speedtest-frame" style="border: none;" src="https://static.coltondrg.com/speedtest.beta/index.html" width="100%" height="500px"></iframe>
<iframe scrolling="no" id="speedtest-frame" style="border: none;overflow: hidden;" src="https://static.coltondrg.com/speedtest.beta/index.html" width="100%" height="500px"></iframe>

_this speedtest is hosted at [webzero](https://webzero.drg.ovh/)_

_[access the archived version](https://wpa.coltondrg.xyz/speedtest/) (hosted at [yuuko](https://yuuko.drg.ovh/))_

_[or try the v3 beta](/speed/)_

<script type="text/javascript">
if(window.location.hostname.includes("coltondrg.com")){document.domain = "coltondrg.com";}else if(window.location.hostname.includes("coltondrg.xyz")){document.domain = "coltondrg.xyz";}
if(window.location.hostname.includes("coltondrg.com")){document.domain = "coltondrg.com";}
var speedFrame = document.getElementById("speedtest-frame");
setInterval(function() {
if( navigator.userAgent.toLowerCase().indexOf("firefox") > -1 ) {


Loading…
Cancel
Save