panoz 1 Posted July 13, 2010 Report Share Posted July 13, 2010 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. Quote Link to post Share on other sites
JohnB 255 Posted July 13, 2010 Report Share Posted July 13, 2010 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? Quote Link to post Share on other sites
panoz 1 Posted July 13, 2010 Author Report Share Posted July 13, 2010 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 Quote Link to post Share on other sites
JohnB 255 Posted July 13, 2010 Report Share Posted July 13, 2010 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. Quote Link to post Share on other sites
panoz 1 Posted July 14, 2010 Author Report Share Posted July 14, 2010 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? Quote Link to post Share on other sites
alcr 135 Posted July 14, 2010 Report Share Posted July 14, 2010 Try compile the bot and see if anything changes. Quote Link to post Share on other sites
panoz 1 Posted July 15, 2010 Author Report Share Posted July 15, 2010 Try compile the bot and see if anything changes. nope...doesnt work Quote Link to post Share on other sites
panoz 1 Posted July 19, 2010 Author Report Share Posted July 19, 2010 anybody can help with this? Quote Link to post Share on other sites
JohnB 255 Posted July 19, 2010 Report Share Posted July 19, 2010 I'm back on it today. Was a little tied up. Quote Link to post Share on other sites
panoz 1 Posted July 21, 2010 Author Report Share Posted July 21, 2010 I'm back on it today. Was a little tied up. Thanks a lot! Quote Link to post Share on other sites
JohnB 255 Posted July 22, 2010 Report Share Posted July 22, 2010 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 Quote Link to post Share on other sites
Dangazzm 0 Posted July 22, 2010 Report Share Posted July 22, 2010 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 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? Quote Link to post Share on other sites
panoz 1 Posted July 22, 2010 Author Report Share Posted July 22, 2010 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 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 Quote Link to post Share on other sites
JohnB 255 Posted July 22, 2010 Report Share Posted July 22, 2010 Thank you panoz http://ubotstudio.com/forum/public/style_emoticons/default/rolleyes.gif Quote Link to post Share on other sites
Dangazzm 0 Posted July 22, 2010 Report Share Posted July 22, 2010 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 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 Quote Link to post Share on other sites
JohnB 255 Posted July 22, 2010 Report Share Posted July 22, 2010 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 Quote Link to post Share on other sites
Dangazzm 0 Posted July 22, 2010 Report Share Posted July 22, 2010 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 Quote Link to post Share on other sites
panoz 1 Posted July 22, 2010 Author Report Share Posted July 22, 2010 Seth? help? The disable button is meant to prevent automatic bots? Quote Link to post Share on other sites
panoz 1 Posted July 27, 2010 Author Report Share Posted July 27, 2010 Is there a way to simulate a real click from a web user? because I think this would solve this problem. Quote Link to post Share on other sites
Max Andrews 5 Posted July 27, 2010 Report Share Posted July 27, 2010 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 2 Quote Link to post Share on other sites
panoz 1 Posted July 28, 2010 Author Report Share Posted July 28, 2010 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: Quote Link to post Share on other sites
panoz 1 Posted July 28, 2010 Author Report Share Posted July 28, 2010 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? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.