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.

Ce script ne doit pas être installé directement. C'est une librairie destinée à être incluse dans d'autres scripts avec la méta-directive // @require https://update.greasyfork.org/scripts/488161/1335321/wait-for-element.js

Auteur
owowed
Version
0.1.1
Créé
24/02/2024
Mis à jour
29/02/2024
Size
7,66 ko
Licence
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.