()
| 341 | window.MozMutationObserver |
| 342 | // 获取当前页面的 URL |
| 343 | const getCurrentURL = () => location.href |
| 344 | getCurrentURL.previousURL = getCurrentURL() |
| 345 | // 创建 MutationObserver 实例,监听 DOM 变化 |
| 346 | const observer = new MutationObserver((mutations, observer) => { |