Mercurial > hg > webaudioevaluationtool
diff index.html @ 2319:6897339ac651
#48. JS in core.js
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Fri, 29 Apr 2016 16:26:34 +0100 |
parents | b0b4d264d9a8 |
children | 2ddc68898dff |
line wrap: on
line diff
--- a/index.html Fri Apr 29 15:52:41 2016 +0100 +++ b/index.html Fri Apr 29 16:26:34 2016 +0100 @@ -22,28 +22,6 @@ <script type="text/javascript" src='js/loudness.js'></script> <script type="text/javascript" src='js/xmllint.js'></script> <script type="text/javascript" src='js/WAVE.js'></script> - <script type="text/javascript"> - // SEARCH QUERY: By using the GET Request option ?url=loca/path/to/project.xml in the URL bar, you can load a project quickly - if (window.location.search.length != 0) - { - var search = window.location.search.split('?')[1]; - // Now split the requests into pairs - var searchQueries = search.split('&'); - for (var i in searchQueries) - { - // Split each request into - searchQueries[i] = searchQueries[i].split('='); - if (searchQueries[i][0] == "url") - { - url = decodeURI(searchQueries[i][1]); - } - } - loadProjectSpec(url); - window.onbeforeunload = function() { - return "Please only leave this page once you have completed the tests. Are you sure you have completed all testing?"; - }; - } - </script> </head> <body>