This user is suspected of being a cat. Please report any suspicious behavior.

  • LeninWeave [none/use name, any]@hexbear.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    27 days ago

    Doesn’t add it to the comment box just under the post if you’re opening it from a direct link

    I think this is because the mutation observer watches for changes after it’s added, and a direct link loads the page with the comment box directly so it isn’t caught by the observer which is added after the loading is done (whereas loading from the front page doesn’t reload the document and therefore the observer is watching as the comment box is added). Should be fixable if you run the code to find the comment box and add the signature once after adding the mutation observer at the end of your snippet.