Monday 26 August 2019

Remove white flashes in Electron when redirecting to another page.

I'm making an app using Electron and I have a simple page with my name, showing that I am the one who made the app. I used JavaScript to make it redirect to another page which is basically the application after 7 exact seconds. However, there is a tiny white flash before that other page appears. How do I make it disappear and give the page enough time to load so it can appear instantly, without flashes or waiting for elements to load when it's opened. Is that possible? I'm using windows.location.href as well as the 'ready-to-show' function in main.js.Thank you!

Submitted August 26, 2019 at 11:24PM by Plam3n04

No comments:

Post a Comment