You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible for some or all of the Local Variables used in the script.js file for skyview978 and dump1090-fa be unique to their own webpages?
The script.js files are located in the following folders:
\usr\share\dump1090-fa\html\script.js
\usr\share\skyaware978\html\script.js
The ones I have modified for my location are the following:
MapType
SiteCirclesBaseDistance
SiteCirclesCount
SiteCirclesInterval
ZoomLvl
CenterLat
CenterLon
I appended either an _978 or _1090 to the above variables depending on the webpage. This lets me view each page without having to reset it each time I refresh it.
The text was updated successfully, but these errors were encountered:
The underlying problem here is that localStorage is per-origin, not specific to the page.
A more general fix would be to prefix the keys with the URL (or URL path). (A shim of some sort to do this automatically probably makes more sense than changing every key used)
Would it be possible for some or all of the Local Variables used in the script.js file for skyview978 and dump1090-fa be unique to their own webpages?
The script.js files are located in the following folders:
\usr\share\dump1090-fa\html\script.js
\usr\share\skyaware978\html\script.js
The ones I have modified for my location are the following:
MapType
SiteCirclesBaseDistance
SiteCirclesCount
SiteCirclesInterval
ZoomLvl
CenterLat
CenterLon
I appended either an _978 or _1090 to the above variables depending on the webpage. This lets me view each page without having to reset it each time I refresh it.
The text was updated successfully, but these errors were encountered: