The basic principle is to block some of the preloader events and dispatch
Have a look at this
However if you are using framework like Parsley messing with the app startup
will end up in messing you framework initialization since the framework is
depending on those events.