Observe

Observe and wait for elements

هذه إصدارات لهذا البرنامج النصي حيث تم تحديث الكود. عرض كل الإصدارات.

  • v2.2 13-10-2025

    Increment version, remove global in waitForElement, remove unnecessary bloat in assign function

  • v2.1.2 13-10-2025

    Return observer in observeAndHandle

  • v2.1.2 12-10-2025

    Used the wrong namespace name.

  • v2.1.1 12-10-2025

    Fix mistake in previous update

  • v2.1 12-10-2025

    Since require chains don't work, just put the namespace code inline.

  • v2.0 12-10-2025

    It seems to fail assigning, so I am testing moving getting the namespace.

  • v2.0 12-10-2025

    Actually add namespace dependency.

  • v2.0 12-10-2025

    Breaking changes. Removing tag based search and replacing with selector based search (far more flexible).
    Using a namespacing library instead of cooking it in each time.

  • v1.3 11-10-2025

    Add parent functionality to waitForElement

  • v1.2 11-10-2025

    Make waitForElement async

  • v1.3 11-10-2025

    Changed waitForElement to use more ergonomic `await` pattern using Promises.

  • v1.2 11-10-2025

    Proper namespacing for window (avoid conflicts if possible)

  • v1.1 11-10-2025

    Add semicolon to end of function (possibly important)

  • v1.1 11-10-2025

    Attaching to window to see if I can actually use the library.

  • v1.0 11-10-2025

    Change observe from const to var

  • v1.0 11-10-2025

    Changed capitalization

  • v1.0 11-10-2025