For my current project, I am creating an offline website and would like it to display in full screen when opened. I have been using the Fullscreen API, but it exits fullscreen mode when a user navigates to another page. After researching the issue, it seems that this is a common problem due to the DOM tree being destroyed.
I have come across discussions on how to keep the webpage in fullscreen mode after clicking a link, but I am still unsure of the best solution. The concept of "Ajax Loaders" has been mentioned, but I find the information vague and confusing since I am new to this area.
Is there any other workaround or alternative method that can help me achieve my goal? It's essential for the website to be cross-browser compatible, as I will be sharing the files via USB and cannot predict which browser will be used to open it.