顺便说一句,我们用 api.OnPageChange 测试了它,运行正常。我们还没有遇到过在调用 OnPageChange 时 DOM 内容不可用的情况,所以它似乎是在 DomContentLoaded 之后触发的。但是,我不能百分之百确定。感谢您的帮助。
ddsgad
(DDSGadget)
9
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| [newbie] Trouble adding script to dynamically change CSS values based on conditions | 10 | 1689 | 2024 年6 月 8 日 | |
| Trigger javascript on clicking any page link, but before the page content loads? | 10 | 1278 | 2024 年11 月 4 日 | |
| Executing js after DOM loaded | 7 | 3633 | 2018 年12 月 30 日 | |
| My plugin codes runs just once!(My own script shouldn't be cached) | 17 | 2321 | 2016 年11 月 21 日 | |
| beforePageChange plugin API? | 1 | 607 | 2021 年12 月 15 日 |