Streaming live at 10am (PST)

Disable Scrolling while Preloader

I used this code ( to disable scrolling. This code works after a click on a button and stops when clickling on the button again.
I wondered if anyone would know a way to do this with a prelaoder?
I found this article
Disable scroll until animation is completed
but as I have to do it for multiple pages I was wondering if anyone has custom code for it?
[1]: http://