XpownX 8 Posted June 23, 2013 Report Share Posted June 23, 2013 Hello user of ubot studioToday i was making a bot, for this site: http://socialmediaexplode.com/The site need for gain point's, you need to like facebook post etc, and then you can reedem these.Well, i was making a bot, and when you need to gain point's, it will open a popup, and you will need to do the things for gain point's.The problem is, in ubot studio, i have put the comand, allow popup's, but nothing to do..When the popup is open, is a white windows only this.. How i can make it work?? Quote Link to post Share on other sites
UBotDev 276 Posted June 23, 2013 Report Share Posted June 23, 2013 The problem is that UBot displays popups inside iframes, and some sites like Facebook don't allow to display them inside iframes (that is why you see a blank popup). The only way to get around that is to scrape iframe's SRC parameter and navigate to that URL inside main or new UBot browser. Quote Link to post Share on other sites
XpownX 8 Posted June 24, 2013 Author Report Share Posted June 24, 2013 The problem is that UBot displays popups inside iframes, and some sites like Facebook don't allow to display them inside iframes. The only way to get around that is to scrape iframe's SRC parameter and navigate to that URL inside main or new UBot browser. How i can do that? Quote Link to post Share on other sites
UBotDev 276 Posted June 24, 2013 Report Share Posted June 24, 2013 You need to scrape like (maybe you'll have to use different element instead of tagname=iframe): set(#SRC, $scrape attribute(<tagname="iframe">, "src"), "Global") and then you navigate to scraped URL. 1 Quote Link to post Share on other sites
XpownX 8 Posted June 24, 2013 Author Report Share Posted June 24, 2013 You need to scrape like: set(#SRC, $scrape attribute(<tagname="iframe">, "src"), "Global") and then you navigate to scraped URL. Ok, i will try, i will post if it work Thanks Quote Link to post Share on other sites
XpownX 8 Posted June 24, 2013 Author Report Share Posted June 24, 2013 You need to scrape like: set(#SRC, $scrape attribute(<tagname="iframe">, "src"), "Global") and then you navigate to scraped URL. Hi I have try, but it does seem to do anything, maybe i make a video?? 1 Quote Link to post Share on other sites
UBotDev 276 Posted June 26, 2013 Report Share Posted June 26, 2013 You need to have popup opened when you scrape with that command, also you can try to use different identifier when you scrape (it might be that page has more than 1 iframe, so <tagname="iframe"> could be picking one without SRC). I've tried to register for that site but I never received confirmation email. You can actually use the code bellow, once the popup is opened (so it's done in one node): navigate($scrape attribute(<tagname="iframe">, "src"), "Wait") This should open the iframe SRC in the browser instead of popup. 1 Quote Link to post Share on other sites
XpownX 8 Posted June 27, 2013 Author Report Share Posted June 27, 2013 yes it open, but how i can return to the page to confirm i have comment when it have scraape attribute and do all it need to do? Quote Link to post Share on other sites
UBotDev 276 Posted June 28, 2013 Report Share Posted June 28, 2013 You can navigate in a "new browser", so that once you are done with that, bot simply closes it and gets you back to your main browser. Quote Link to post Share on other sites
UBotDev 276 Posted June 28, 2013 Report Share Posted June 28, 2013 Btw, I provided an example of getting SRC from an iframe here: http://www.ubotstudio.com/forum/index.php?/topic/14302-help-with-opening-a-page/&do=findComment&comment=79859 Quote Link to post Share on other sites
Kev 69 Posted July 25, 2013 Report Share Posted July 25, 2013 Ok, i will try, i will post if it work ThanksWas looking for this, thanks bud! 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.