Skip to content

waitForUrl calls the function with the old body #16

@TheBestPessimist

Description

@TheBestPessimist

My scripts here: https://github.com/TheBestPessimist/UserScripts/blob/master/youtube-auto-dislike/youtube-auto-dislike.user.js#L36-L43

I am calling waitForUrl(waitForElems()), and waitForElems is called before the content of the page is updated.
It looks as if waitForUrl is "too fast".

Am I using this wrong (I am a Kotlin/Backend dev)?
Is this expected?
Do you have any advice if what I did there is OK?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions