I do not know if this is a bug or if it was intended that way, but when using beforeSubmit(e) => - username disappears

https://perchance.org/beforesubmit-comments-plugin-example#edit

all 2 comments

sorted by: hot top controversial new old
[–] 5 points 11 months ago

Yep, it's intentional - it's actually motivated by a privacy consideration. Without removing the username for automated/bot submissions, it could leak that a person with username "foo" has visited generator "bar" via automated comment submission when they visit the page. Ideally that sort of "automated unmasking" of users should not be possible, and this design decision preserves that.

Automated comment submission is of course possible, but the (~IP based) user tag is different for each generator, so they stay anonymous unless they specifically choose to comment with their username.

  • source
  • [–] 1 point 11 months ago

    because we are bot

  • source