wait-for-element

Provides utility functions to get and wait for elements asyncronously that are not yet loaded or available on the page.

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.greasyfork.org/scripts/488161/1335321/wait-for-element.js

作者
owowed
版本
0.1.1
建立日期
2024-02-24
更新日期
2024-02-29
授權條款
LGPL-3.0

Provides utility functions to query elements asyncronously that are not yet loaded or available on the page.

Available functions are waitForElement, waitForElementByParent, waitForElementOptions, which are all documented in the userscript JSDoc.

This will require make-mutation-observer as dependency. Make sure to @require'd it before requiring this library.