# 如何绕过导航时的DOMContentLoaded

**URL:** <https://meta.discourse.org/t/how-to-get-around-domcontentloaded-for-navigation/351748>\
**Category:** Development\
**Created:** [2025年二月11日 21:38 UTC](https://meta.discourse.org/t/how-to-get-around-domcontentloaded-for-navigation/351748 "2025-02-11T21:38:15Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![ddsgad](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ddsgad/32/486614_2.png) [@ddsgad](https://meta.discourse.org/u/ddsgad)\
**Post date:** [2025年二月21日 15:00 UTC](https://meta.discourse.org/t/how-to-get-around-domcontentloaded-for-navigation/351748/11 "2025-02-21T15:00:11Z")

</div>

> [@merefield](#):
>
> 在 DOM 加载时触发 didInsert 修改器

您能更好地解释一下这是什么意思吗？didInsert 修改器是什么？我是在 decorateCookedElement 上触发的。谢谢。

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-around-domcontentloaded-for-navigation/351748)._
