Widget takes 3-4 seconds to load
The attached html page contains only the widget code and it still takes 3-4 seconds to load. We used the same widget on our masjids website homepage so it doesnt look nice if there is a blank space on the home page.
<script type="text/javascript">(function(w){function async_load(){var s=w.document.createElement('script');s.type='text/javascript';s.async=true;s.defer=true;s.src='https://masjidbox.com/widgets/loader.js';var x=w.document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);} if(w.attachEvent)w.attachEvent('onload',async_load);else w.addEventListener('load',async_load,false);})(window);</script><a data-masjidbox-widget="bWDhPHbR4Zk8R2jnbJMXU" data-masjidbox-ifr href="https://masjidbox.com/prayer-times/mia-liverpool-islamic-centre">Prayer times MIA - Liverpool Islamic Centre</a>
Log in to comment and vote
Comments3
Violet Cake
Oct 5, 2025
I agree the widgets do take too long to long. great once up but not much point if they load up too late and the person has scrolled away or left the page already
Tan Yogurt
Mar 31, 2025
Any updates regarding this?
Tan Yogurt
Mar 5, 2024
Yes, this is super important. The widget takes way too long to load and leaves an empty white box.