We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97366b5 commit 197922aCopy full SHA for 197922a
scripts/app.js
@@ -15,4 +15,11 @@ String.prototype.toHHMMSS = function () {
15
time = minutes + ':' + seconds;
16
17
return time;
18
+}
19
+
20
+function getParameterByName(name) {
21
+ name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
22
+ var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
23
+ results = regex.exec(location.search);
24
+ return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
25
}
0 commit comments