-
Notifications
You must be signed in to change notification settings - Fork 217
/
index.html
176 lines (136 loc) · 8.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en">
<head>
<title>Speed Test by OpenSpeedTest.com</title>
<meta name="description"
content="Test your network speed now. HTML5 Network Performance Estimation Tool. Self-Hosted SpeedTest by OpenSpeedTest™"/>
<link href="assets/css/app.css" rel="stylesheet" type="text/css" />
<script> window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(document.head.innerHTML+='<link id="darkmode" rel="stylesheet" href="assets/css/darkmode.css" type="text/css"/>');function getCookieValue(b,a){return(a=document.cookie.match("(^|;)\\s*"+b+"\\s*=\\s*([^;]+)"))?a.pop():""}if("light"===getCookieValue("mode")){var darkStyle=document.getElementById("darkmode");darkStyle&&darkStyle.parentNode.removeChild(darkStyle)}; </script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta property="og:image" content="assets/images/img.png" />
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/icons/favicon-16x16.png">
<link rel="manifest" href="assets/images/icons/site.webmanifest">
<link rel="mask-icon" href="assets/images/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="assets/images/icons/favicon.ico">
<meta name="msapplication-TileColor" content="#ffc40d">
<meta name="msapplication-config" content="assets/images/icons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<script type="text/javascript">
/*
©CopyRight 2013-2023 by OpenSpeedTest.COM. All Rights Reserved.
Official Website : https://OpenSpeedTest.COM | Email: support@openspeedtest.com
Developed by : Vishnu | https://Vishnu.Pro | Email : me@vishnu.pro
HTML5 Network Performance Estimation Tool -> [JS,XHR,SVG,HTML,CSS]
Started in 2011 and Moved to OpenSpeedTest.COM, Dedicated Project/Domain Name in 2013.
SpeedTest Script -> 2013 -> Beta | 2015 -> V1 | 2019 ->V2 | 2020 V2.1 | 2021 V2.12 | 2022 V2.5 & 2.5.3
Self-Hosted OpenSpeedTest-Server (iFrame/Nginx) -> 2014. (Managed SelfHosted SpeedTesT Widget)
OpenSpeedTest-Server (On-premises) (Fully SelfHosted Apps)
[OpenSpeedTest-Server Docker Image] -> V1 2019 | V2 2020 | V2.1 2021 | V2.2 & 2.2.2 2022
[Node.js/Electron JS OpenSpeedTest-Server Desktop Apps] -> 2020 V1 | 2021 V2 & V2.1 | 2.1.1 to 2.1.8 2022
[Ionic Android and iOS OpenSpeedTest-Server Mobile Apps] V1.2 to 1.5 2022
Download Now -> https://go.openspeedtest.com/Server
Like this Project? Please Donate NOW & Keep us Alive -> https://go.openspeedtest.com/Donate
Speed Test by OpenSpeedTest™️ is Free and Open-Source Software (FOSS) with MIT License.
Read full license terms @ http://go.openspeedtest.com/License
If you have any Questions, ideas or Comments Please Send it via -> https://go.openspeedtest.com/SendMessage
*/
// Add or Remove Server --> Automatically choose the one with the least latency
var openSpeedTestServerList = [
{"ServerName":"Home", "Download":"downloading", "Upload":"upload", "ServerIcon":"DefaultIcon"}
];
// Send pings 'pingSamples' times to each Server URL.
var pingSamples = 10;
// 50% samples(Least)/length 1=100% 0.1 = 10%
var jitterFinalSample = 0.5;
// Set a pingSample dynamically by passing "Ping" or "p" as a URL Parameter.
var setPingSamples = true;
// If Server has not responded within 5 Seconds for any requests we send ('pingSamples' times)
// We will show Network Error. You can change the limit here.
// In milliseconds, if you need to set 6 seconds. Change the value to 6000.
var pingTimeOut = 5000;
// Set a PingTimeout dynamically by passing "Out" or "O" as a URL Parameter
var setPingTimeout = true;
// GET or HEAD // Other Methods may work. but why?
var pingMethod = "GET";
//Choose Download or Upload from the Server list. If you Prefer Download, change pingMethod to HEAD.
var pingFile = "Upload";
// The amount of garbage data sent to the server in Mb, 30 = 30Mb
var ulDataSize = 30;
// Don't touch it
var ulDelay = 300;
var dlDelay = 300;
// Overhead Compensation factor, This is a browser-dependent test, Many Unknowns. Currently, 4%. That is within the margin of error.
var upAdjust = 1.04;
var dlAdjust = 1.04;
// You can pass "Clean" or "C" as a URL Parameter and reset the Overhead Compensation factor to Zero or set any value between 0 and 4. 1 = 1% to 4 = 4%
// "clean" will not accept values above 4, so Compensation is limited to a maximum of 4%.
var enableClean = true;
// Minimum 12 Seconds is Expected.
var dlDuration = 12;
var ulDuration = 12;
// 6 is the common limit found on most browsers.
// Choose Number for parallel HTTP connections to Server | Default is 6
var dlThreads = 6;
var ulThreads = 6;
// Allow user to Change default limit of 6 parallel HTTP connections to Server | Accept values above 1 and max 32
// pass "XHR" or "X" as a URL Parameter
var setHTTPReq = true;
// Save Data to a Database
var saveData = false;
var saveDataURL = "//yourDatabase.Server.com:4500/save?data=";
// Allow user to change the default 12 seconds test duration
// Pass "Stress" or "S" as a URL Parameter.
var stressTest = true;
// Allow user to select and run one test at a time, download, upload, or ping
// Pass "Test" or "T" as a URL Parameter.
var selectTest = true;
// Allow user to select a different server to run a test
// Pass "Host" or "H" ad a URL Parameter.
// Accept only valid HTTP URLs like "http://192.168.1.10:3000" or "https://yourHost.com"
var selectServer = true;
// Start a test Automatically without pressing the start button
// You can Delay the test for 'n' seconds by passing any number as a value for Run Keyword. e.g.: "Run=10" or "R=10" to delay the test by 10 Seconds.
// Pass "Run" or "R" as a URL Parameter to start a test instantly.
var enableRun = true;
// "Run" will not work if you are already using 'selectTest' "Test" or "T" Keyword.
function ostOnload() {
console.log("OpenSpeedTest.com V2.5.4 Loaded!")
console.log("Now Press the Start Button or HIT Enter.")
console.log("The secret to living happy is giving happiness. Have a wonderful day.")
}
var openChannel = "dev";
</script>
<!--
Speed Test by OpenSpeedTest™️ is Free and Open-Source Software with MIT License.
You can play with the CSS, HTML & SVG files to change the colors or add your support desk info to this page.
Also, you can add your company logo anywhere on this page. It's FOSS. You can do whatever you see fit.
If you like to make any other modification to this application or need a custom deployment for your organization,
please get in touch with support@openspeedtest.com.
-->
<div id="loading_app" class="spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
<object style="visibility:hidden" id="OpenSpeedTest-UI" data="assets/images/app.svg" type="image/svg+xml"></object>
<div class="Credits">
<a href="https://openspeedtest.com?ref=Self-Hosted&Run">Speed Test</a> by OpenSpeedTest™ is a Free and Open-Source <a href="https://openspeedtest.com/selfhosted-speedtest">Self-Hosted SpeedTest</a> Software.<a href="https://github.com/openspeedtest/Speed-Test"> Source Code.</a>
<p style="font-size: 12px;">© Copyright 2013-2023 OpenSpeedTest™ All Rights Reserved.</p>
</div>
<script src="assets/js/app-2.5.4.min.js"></script>
<script src="assets/js/darkmode.js"></script>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TNQCBKZ');</script>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TNQCBKZ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
</body>
</html>