stanf 43 Posted March 3, 2013 Report Share Posted March 3, 2013 some sites that my bot navigates to have links that open up into new windows but ubot does not seem to handle that well (ie. it doesnt do it), how do i get around this problem? Quote Link to post Share on other sites
LazyBotter 188 Posted March 3, 2013 Report Share Posted March 3, 2013 Scrape the url to a variable using scrape attribute then navgate to url. Quote Link to post Share on other sites
stanf 43 Posted March 4, 2013 Author Report Share Posted March 4, 2013 thats fine for a automated bot, but this is for consumer use and people like to click on the pictures and such. Quote Link to post Share on other sites
grantwood 5 Posted March 4, 2013 Report Share Posted March 4, 2013 You should be able to use jQuery. First, please view this video showing how to integrate jQuery with Ubot (prepared by @Fabier, not me):http://www.ubotstudio.com/forum/index.php?/topic/12822-a-quick-introduction-to-javascript Next, use this code in the $eval function. $('a[target="_blank"]').removeAttr('target'); Regards,Sean Quote Link to post Share on other sites
Guest B1u3AnG3L Posted April 24, 2013 Report Share Posted April 24, 2013 (edited) 10x grantwood for this ... it works in many cases ... I have a particular case, and I try to simply click on (with proxy but this is not important) "vote top 66" banner at http://www.erogenix.xxx/en/partners.php that open a new page through a js and I simply cannot find a way. If anyone have a solution ... ? 10x ... This is the code I must use on the website : <script src="http:// script.top66.ro/id-480913/6/code2.js" type="text/javascript"></script><a href="http:// www.top66.ro" title="Promovare gratuita"><img src="http:// images.top66.ro/vote/6.gif" usemap="#Top66Vote" border="0"</a> Edited April 24, 2013 by B1u3AnG3L 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.