Greasy Fork is available in English.

wait-for-element

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

此脚本不应直接安装,它是一个供其他脚本使用的外部库。如果您需要使用该库,请在脚本元属性加入:// @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.