Jump to content
UBot Underground

[Solved]Whynotad body form


Recommended Posts

Hi Guys, I really cant figure out how to fill the content form on whynotad.

There's a way but you need to manually interact to the forms before ubot fills it.

 

Try this code below. I include the login credentials for you to test:

navigate("http://www.whynotad.com/login", "Wait")
if($exists(<email field>)) {
   then {
       change attribute(<name="login">, "value", "rebekahc294")
       change attribute($element offset(<email field>, 0), "value", "rebekahc294@dispostable.com")
       change attribute(<password field>, "value", "z8tPvPCy33")
       click($element offset(<login link>, 2), "Left Click", "No")
       wait for browser event("Page Loaded", "")
   }
   else {
   }
}
navigate("http://www.whynotad.com/place-free-advertising", "Wait")
type text(<name="title">, "This is a title", "Standard")
type text(<class="mceContentBody">, "This is a long content", "Standard")

 

Thanks

Link to post
Share on other sites

Here ya go:

 

navigate("http://www.whynotad.com/login", "Wait")

if($exists(<email field>)) {

then {

change attribute(<name="login">, "value", "rebekahc294")

change attribute($element offset(<email field>, 0), "value", "rebekahc294@dispostable.com")

change attribute(<password field>, "value", "z8tPvPCy33")

click($element offset(<login link>, 2), "Left Click", "No")

wait for browser event("Page Loaded", "")

}

else {

}

}

navigate("http://www.whynotad.com/place-free-advertising", "Wait")

type text(<name="title">, "This is a title", "Standard")

click(<class="mceContentBody">, "Double Click", "Yes")

wait(2)

type text(<class="mceContentBody">, "This is a long content", "Standard")

 

 

John

  • Like 1
Link to post
Share on other sites

navigate("http://www.whynotad.com/login", "Wait")

if($exists(<email field>)) {

then {

change attribute(<name="login">, "value", "rebekahc294")

change attribute($element offset(<email field>, 0), "value", "rebekahc294@dispostable.com")

change attribute(<password field>, "value", "z8tPvPCy33")

click($element offset(<login link>, 2), "Left Click", "No")

wait for browser event("Page Loaded", "")

}

else {

}

}

navigate("http://www.whynotad.com/place-free-advertising", "Wait")

type text(<name="title">, "This is a title", "Standard")

click(<class="mceContentBody">, "Left Click", "Yes")

wait(1)

type text(<class="mceContentBody">, "This is a long content", "Standard")

  • Like 1
Link to post
Share on other sites

Hmmn... This is strange.. I tried the same thing earlier with clicking the blocktext before filling up the form but doesnt work.

 

Both of your codes work guys! So +1 for both of you.. :)

 

Thanks

 

Edit: The problem is not setting the click by location to yes.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...