Skyview URL to start with map only

Is there a URL I can use so that when the local site loads (the http://pi:8080) it has the sidebar collapsed from the start? Trying to setup a map display kiosk, but wasn’t able to find a URL to show the map only. Thanks!

Just checked it, if i close the browser with sidebar hidden, it comes up on next launch without it again.

Hmm… not sure that helps for booting up a system in ‘kiosk’ mode with no mouse or keyboard. I’ll see what I can do with it. But so far there doesn’t look to be a way to say use http://pi:8080?hide_sidebar=t , or something similar, to just always have it come up with the sidebar closed.

Just change the javascript.

Edit script.js:

sudo nano /usr/share/dump1090-fa/html/script.js

After this line:

function toggleSidebarVisibility(e) {

Add:

    if (e)

Directly above this line:

        // And kick off one refresh immediately.

Add this line:

toggleSidebarVisibility();

Thanks! I can, though would rather not since the server for the data is shared for other users as well, but it looks like the only answer currently.

Ok, went the extra 5 steps and added a check for a hideSidebar in the URL. Is there a place so send patches for possible future inclusion?

GitHub - flightaware/dump1090: Dump1090 is a simple Mode S decoder for RTLSDR devices, submit a PR there if you can.

Done, I think. Added other options for turning off things at start just in case it was useful for others.