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.greatest.deepsurf.us/scripts/488161/1335321/wait-for-element.js

ผู้เขียน
owowed
เวอร์ชัน
0.1.1
สร้างเมื่อ
24-02-2024
อัปเดตเมื่อ
29-02-2024
Size
7.66 กิโลไบต์
สัญญาอนุญาต
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.