Jump to content
UBot Underground

Help me find a way to click this button


Recommended Posts

Here's the outerhtml code. It looks like it has a disabled javascript button. Is there a work around for this? This is my first bot and I'm just trying to create some test accounts.

 

here's the code from a browser in ubot:

<A class="btn std" title="Join now" tabIndex=8 onclick="if(!$(this).isDisabledBtn()) { doregister(); } else { xPreventDefault(); return false; }" href="javascript:void(0);" ? alt="Join now"><SPAN><SPAN><FONT style="WHITE-SPACE: nowrap"><INPUT style="WIDTH: 1px; DISPLAY: inline; HEIGHT: 1px" tabIndex=-1 value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" type=image><FONT size=+0> Join now </FONT><INPUT style="WIDTH: 1px; DISPLAY: inline; HEIGHT: 1px" tabIndex=-1 value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" type=image></FONT></SPAN></SPAN></A>

 

Here's the code from browsers outside ubot:

<a class="btn std" href="javascript:void(0);" onclick="if(!$(this).isDisabledBtn()) { doregister(); } else { xPreventDefault(); return false; }" alt="Join now" title="Join now" tabindex="8"><span><span><font style="white-space: nowrap;"><input value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" style="display: inline; width: 1px; height: 1px;" tabindex="-1" type="image"><font> Join now </font><input value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" style="display: inline; width: 1px; height: 1px;" tabindex="-1" type="image"></font></span></span></a></div>

 

the website is wiki*answers*c0m, thanks a lot.

Link to post
Share on other sites

Very interesting, because if you choose by attribute and then click chosen it doesn't work when you run the script. HOWEVER, if you pause the script before choosing the attribute, and then manually run node on choose attribute, followed by run node on click chosen it works!

 

Bizarre!

 

Seth?

Link to post
Share on other sites

Very interesting, because if you choose by attribute and then click chosen it doesn't work when you run the script. HOWEVER, if you pause the script before choosing the attribute, and then manually run node on choose attribute, followed by run node on click chosen it works!

 

Bizarre!

 

Seth?

 

what do you mean by "run node on choose attribute"?

 

This is how I have it:

 

delay:

-2

 

Choose by attribute:

-href

-javascript:void(0);

-exact match

 

<run node on chosen attribute> - can you be more specific?

 

Click Chosen

Link to post
Share on other sites

What I mean is if you right click the node you created (choose by attribute) and click "run node" and then do the same thing for "click chosen" you will see the button works.

Link to post
Share on other sites

What I mean is if you right click the node you created (choose by attribute) and click "run node" and then do the same thing for "click chosen" you will see the button works.

 

you're right, thanks. So anybody have any idea how to make this work without running node manually?

Link to post
Share on other sites

You will get a kick out of this. I am posting to this thread right now from my bed in the Cardiac Care Unit. I was hospitalized yesterday, had surgery and already tapped into the WiFi. This country's amazing! So I am working on it again.

 

John

Link to post
Share on other sites

You will get a kick out of this. I am posting to this thread right now from my bed in the Cardiac Care Unit. I was hospitalized yesterday, had surgery and already tapped into the WiFi. This country's amazing! So I am working on it again.

 

John

 

Gotta love health care with Wifi :P

 

Back to topic:

 

If you are trying to click the "Join Now" button after putting in email ETC. I got it to work by Innertext, then click chosen. However, I didn't make anything else... just a bot that clicks Join now rofl. Am I understanding the problem wrong?

Link to post
Share on other sites

JohnB, I hope you're doing ok. and I wish you a speedy recovery.

 

Dangazzm, I put what you suggested in my bot but still getting the same issue. the site will throw back some technical error, but it does recognize the click, it just won't let you pass if it's not a manual click.

 

Gotta love health care with Wifi :P

 

Back to topic:

 

If you are trying to click the "Join Now" button after putting in email ETC. I got it to work by Innertext, then click chosen. However, I didn't make anything else... just a bot that clicks Join now rofl. Am I understanding the problem wrong?

wiki answers.ubot

Link to post
Share on other sites

Ok, I got this one to work... for sure, it says that the email is already in use at least so I assume that it is working :P

 

It is strange but the popup that shows up saying there was a technical error, if you target the join button there and send a blank keys file then click it.

 

You try it out and tell me if it works out.

 

Also, hope I didn't offend JohnB. I thought you said so jokingly and I was hoping to lighten the mood for you heh.

wiki answers.ubot

Link to post
Share on other sites

No you didn't at all! The problem is when you get the message saying the email is already in use, if you had clicked it manually it would have registered the account. Something is very amiss with that site

Link to post
Share on other sites

No you didn't at all! The problem is when you get the message saying the email is already in use, if you had clicked it manually it would have registered the account. Something is very amiss with that site

 

 

Yea this is going to sound strange but... I tried it before and I swear it worked rofl... might be cause its so late and im jacked up on Redbull trying to finish my bot at the same time.

 

So it looks like we are back to the drawing board. If someone knows how to add Javascript to this site, its a theory BUUUUTT!

 

What if you give focus to the button? Maybe the Javascript on the button (which I am trying to decypher right now, Javascript noob here) has a prevention measure if the button isn't in focus it will not call the right screen like you would expect and the reason I think this is because of the following code:

 

<a class="btn std" href="javascript:void(0);" onclick="if(!$(this).isDisabledBtn()){doregister('gigya');}else{xPreventDefault();return false}" alt="Join now" 

 

The onclick isDisabledBtn, but yea I found this link as what I think is the attached Javascript

 

http://en.site1.answcdn.com/templates/scripts/~XabcdekjfxfgilsMNGOxlxjSnHoLW.js?v=71187

Link to post
Share on other sites

Panoz, you just need to ignore the entire code:

<A class="btn std" title="Join now" tabIndex=8 onclick="if(!$(this).isDisabledBtn()) { doregister(); } else { xPreventDefault(); return false; }" href="javascript:void(0);" ? alt="Join now"><SPAN><SPAN><FONT style="WHITE-SPACE: nowrap"><INPUT style="WIDTH: 1px; DISPLAY: inline; HEIGHT: 1px" tabIndex=-1 value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" type=image><FONT size=+0> Join now </FONT><INPUT style="WIDTH: 1px; DISPLAY: inline; HEIGHT: 1px" tabIndex=-1 value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" type=image></FONT></SPAN></SPAN></A>

 

except

 

doregister();

 

After you imput username, password and email with ubot, you just run a javascript string and simply put

 

doregister();

 

 

That's it. Like in the attachment:

wiki-answers-register.ubot

  • Like 2
Link to post
Share on other sites

Thanks a lot man. You're the man!!!!

 

Panoz, you just need to ignore the entire code:

<A class="btn std" title="Join now" tabIndex=8 onclick="if(!$(this).isDisabledBtn()) { doregister(); } else { xPreventDefault(); return false; }" href="javascript:void(0);" ? alt="Join now"><SPAN><SPAN><FONT style="WHITE-SPACE: nowrap"><INPUT style="WIDTH: 1px; DISPLAY: inline; HEIGHT: 1px" tabIndex=-1 value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" type=image><FONT size=+0> Join now </FONT><INPUT style="WIDTH: 1px; DISPLAY: inline; HEIGHT: 1px" tabIndex=-1 value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" type=image></FONT></SPAN></SPAN></A>

 

except

 

doregister();

 

After you imput username, password and email with ubot, you just run a javascript string and simply put

 

doregister();

 

 

That's it. Like in the attachment:

Link to post
Share on other sites

Based on what was working with the earlier button doregister(); from this code:

 

<A class="btn std" title="Join now" tabIndex=8 onclick="if(!$(this).isDisabledBtn()) { doregister(); } else { xPreventDefault(); return false; }" href="javascript:void(0);" ? alt="Join now"><SPAN><SPAN><FONT style="WHITE-SPACE: nowrap"><INPUT style="WIDTH: 1px; DISPLAY: inline; HEIGHT: 1px" tabIndex=-1 value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" type=image><FONT size=+0> Join now </FONT><INPUT style="WIDTH: 1px; DISPLAY: inline; HEIGHT: 1px" tabIndex=-1 value="" src="http://en.site2.answcdn.com/templates/images/blank.gif?v=70828" type=image></FONT></SPAN></SPAN></A>

 

 

How do I run javascript on this code:

 

<A class="btn std" title="Add Link" onclick="if(!$(this).isDisabledBtn()){if($(this).match('form a')){bt_submit_fnc=function(tbtn){$(tbtn).submitBtn();};bt_submit_fnc.defer(this)}}else{xPreventDefault();return false}" href="javascript:void(0);" alt="Add Link" lid lpos><SPAN><SPAN>

 

Any idea guys?

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...