diff --git a/SJPv6/www/SJP.html b/SJPv6/www/SJP.html index 2de303e..18219ca 100644 --- a/SJPv6/www/SJP.html +++ b/SJPv6/www/SJP.html @@ -81,6 +81,7 @@ + @@ -116,7 +117,6 @@

WAIT PAGE LOADING.....
-//Start of paste from Ephemeris @@ -164,9 +164,6 @@ -//End paste of Ephemeris - - diff --git a/SJPv6/www/sjp.js b/SJPv6/www/sjp.js index 7033025..6083551 100644 --- a/SJPv6/www/sjp.js +++ b/SJPv6/www/sjp.js @@ -269,6 +269,16 @@ function download(data, filename, type) { }, 0); } } +function deleteAllCookies() { + const cookies = document.cookie.split(";"); + + for (let i = 0; i < cookies.length; i++) { + const cookie = cookies[i]; + const eqPos = cookie.indexOf("="); + const name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie; + document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT"; + } +} function getJHDStringEsc( parray){ //Create JHD file as below @@ -1337,7 +1347,7 @@ function setLatLong(){ k = k[1].split(/;/); document.getElementById("longitude").value=k[0]; document.getElementById("latitude").value=k[1]; -alert("setLatLong"); +//alert("setLatLong"); } function populatePlacesList(p){ amp = new RegExp(/&/);