Jump to content

Recommended Posts

Posted

I'm having a hard time trying to set a value in a specific JavaScript textarea... And I think, this is the right time..

Is it possible to set a value in the "Join the discussion…" textarea and simulate the mouse click of the "Post as {USERNAME}" button of the web page that have added a Disqus forum?

If they are possible then:

  • How can I set a value in the "Join the discussion…" textarea?
  • And how to simulate the mouse click of the "Post as {USERNAME}" button?

Note: Before you can see the "Post as {USERNAME}" button, you must be sign in with Disqus first!

This is the (NULL) previous test work that I've done:

#include <IE.au3>
$oIE = _IECreate("http://professionalserver.tk/php/wp/hello-world/", 0, 1, 1, 0)
Sleep(10000)

$disqus_thread = $oIE.document.getElementById("disqus_thread")
$textarea = $disqus_thread.getElementsByClassName("textarea").innerHTML = "Example Message"

_IELinkClickByText($oIE, "Post as")

Here is my test blog that have a Disqus thread:

http://professionalserver.tk/php/wp/hello-world/

Here is the other web page that have it:

http://www.voicesofyouth.org/es/posts/oneminutesjr---syria-my-love-

Here is the other one:

http://comercioexterior.gob.ec/min-rivadeneira-participo-en-evento-experience-ecuador-love-life-en-dubai/

And also make sure that the script will also work in any page that have a Disqus thread..

  • Moderators
Posted

Servant,

Sorry, but helping with multiple automated postings is not something we support here. If you care enough about something to discuss it in multiple sites, do it manually. Thread locked. :naughty:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...