# How to prevent effects of async loading vs direct loading?

**URL:** <https://meta.discourse.org/t/how-to-prevent-effects-of-async-loading-vs-direct-loading/49379>\
**Category:** Development\
**Created:** [Agosto 29, 2016, 12:46pm UTC](https://meta.discourse.org/t/how-to-prevent-effects-of-async-loading-vs-direct-loading/49379 "2016-08-29T12:46:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [Agosto 29, 2016, 12:55pm UTC](https://meta.discourse.org/t/how-to-prevent-effects-of-async-loading-vs-direct-loading/49379/2 "2016-08-29T12:55:14Z")

</div>

> [@broz](#):
>
> Is there a way i can do that?

If I had to guess, you would have to register to some sort of event that indicates the page is changing and run your init script again to look for the div and id to replace.

I think someone had a similar question on here at one point, but my searches are struggling to find it, probably my lack of keywords that would make it pop up.

---

_[View the full topic](https://meta.discourse.org/t/how-to-prevent-effects-of-async-loading-vs-direct-loading/49379)._
