function ShowProgressMessage(a){if(console)if("string"==typeof a)console.log(a);else for(var b=0;b<a.length;b++)console.log(a[b]);var c=document.getElementById("progress");if(c){var d="string"==typeof a?a:a.join("<br />");c.innerHTML=d}}function InitiateSpeedDetection(){ShowProgressMessage("Loading the image, please wait..."),window.setTimeout(MeasureConnectionSpeed,1)}function MeasureConnectionSpeed(){function e(){var c=(b-a)/1e3,d=8*downloadSize,e=d/c,f=e/1024,g=f/1024;ShowProgressMessage(["Your connection speed is:",e.toFixed(2)+" bps",f.toFixed(2)+" kbps",g.toFixed(2)+" Mbps"])}var a,b,c=new Image;c.onload=function(){b=(new Date).getTime(),e()},c.onerror=function(a,b){ShowProgressMessage("Invalid image, or error downloading")},a=(new Date).getTime();var d="?nnn="+a;c.src=imageAddr+d}var div=document.createElement("div"),style=document.createElement("style");div.innerHTML='<div style="opacity: 0.5;   color: BLACK;position: fixed; top: auto; bottom:50%; left: 80%;"> <a href="https://github.com/jdc20181/SpeedTest">Powered By Example</a></div>',document.body.appendChild(div);var css=document.createElement("style");css.type="text/css",css.innerHTML="a:link,a:visited{opacity:0.5;color:black;text-decoration:none}a:active,a:hover{text-decoration:none opacity: 0.5;color:black;}",document.body.appendChild(css);var imageAddr="https://jdc20181.github.io/testpics/winter-fog-1323462087o5i.jpg",downloadSize=584e3;window.addEventListener?window.addEventListener("load",InitiateSpeedDetection,!1):window.attachEvent&&window.attachEvent("onload",InitiateSpeedDetection);

@@ -1,140 +1,24 @@
-function ShowProgressMessage(a)%7Bif(console)if(%22string%22==typeof a)console.log(a);else for(var b=0;b%3Ca.length;b++)console.log(a%5Bb%5D);var c=
+var UpdateMessage = 
 docu
@@ -41,17 +41,17 @@
 yId(
-%22
+'
 progress
 %22);i
@@ -50,1416 +50,173 @@
 ress
-%22);if(c)%7Bvar d=%22string%22==typeof a?a:a.join(%22%3Cbr /%3E%22);c.innerHTML=d%7D%7Dfunction InitiateSpeedDetection()%7BShowProgressMessage(%22Loading the image, please wait...%22),window.setTimeout(MeasureConnectionSpeed,1)%7Dfunction MeasureConnectionSpeed()%7Bfunction e()%7Bvar c=(b-a)/1e3,d=8*downloadSize,e=d/c,f=e/1024,g=f/1024;ShowProgressMessage(%5B%22Your connection speed is:%22,e.toFixed(2)+%22 bps%22,f.toFixed(2)+%22 kbps%22,g.toFixed(2)+%22 Mbps%22%5D)%7Dvar a,b,c=new Image;c.onload=function()%7Bb=(new Date).getTime(),e()%7D,c.onerror=function(a,b)%7BShowProgressMessage(%22Invalid image, or error downloading%22)%7D,a=(new Date).getTime();var d=%22?nnn=%22+a;c.src=imageAddr+d%7Dvar div=document.createElement(%22div%22),style=document.createElement(%22style%22);div.innerHTML='%3Cdiv style=%22opacity: 0.5;   color: BLACK;position: fixed; top: auto; bottom:50%25; left: 80%25;%22%3E %3Ca href=%22https://github.com/jdc20181/SpeedTest%22%3EPowered By Example%3C/a%3E%3C/div%3E',document.body.appendChild(div);var css=document.createElement(%22style%22);css.type=%22text/css%22,css.innerHTML=%22a:link,a:visited%7Bopacity:0.5;color:black;text-decoration:none%7Da:active,a:hover%7Btext-decoration:none opacity: 0.5;color:black;%7D%22,document.body.appendChild(css);var imageAddr=%22https://jdc20181.github.io/testpics/winter-fog-1323462087o5i.jpg%22,downloadSize=584e3;window.addEventListener?window.addEventListener(%22load%22,InitiateSpeedDetection,!1):window.attachEvent&&window.attachEvent(%22onload%22,InitiateSpeedDetection
+');%0Avar T = document.createElement('p');%0AT.appendChild(document.createTextNode('A Update is in progress. Version 1.1 is almost ready! '));%0AUpdateMessage.appendChild(T
 );%0A

Update mainv1.min.js