wait-for-element

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

Detta skript bör inte installeras direkt. Det är ett bibliotek för andra skript att inkludera med meta-direktivet // @require https://updategreasyfork.deno.dev/scripts/488161/1335321/wait-for-element.js

Skapare
owowed
Version
0.1.1
Skapad
2024-02-24
Uppdaterad
2024-02-29
Size
7,66 KB
Licens
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.