How can I programmatically reply to a Steemit post? Please review my Javascript code! :)

in #bot7 years ago (edited)

Target example: https://steemit.com/usa/@gaottantacinque/happy-4th-of-july

In the Dev Tools console:

question-code.png

This code fills the textarea but the button does not become enabled as it does instead simply clicking on the textarea and typing anything.

Also, the textarea value inserted programmatically disappears clicking for instance on the background but it does not when entered normally.

Thanks!

MY SOLUTION is posted on Stackoverflow: https://stackoverflow.com/questions/51216332/fill-and-submit-textarea-programmatically-in-javascript

Sort:  

@gaottantacinque

Please don't use our tag if the content has no conection to Resteem Bot.

@resteem.bot

As a follower of @followforupvotes this post has been randomly selected and upvoted! Enjoy your upvote and have a great day!

Congratulations @gaottantacinque! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Quarter Finals - Day 1


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.12
TRX 0.33
JST 0.032
BTC 114451.21
ETH 4162.19
USDT 1.00
SBD 0.77