jomark3 25 Posted August 2, 2012 Report Share Posted August 2, 2012 Is there any workaround to allow clickable links to open in a new browser window? The html I am loading is:<html><body><br><br><br><center><h1>Books</h1><br><br%url<br></center></body></html> The link I am clicking is:<a href="http://www.amazon.com/Humbug-Romantic-Christmas-Novella-ebook/dp/B005ME39HU/" target="_blank">Humbug Romantic Christmas Novella </a><br> When I click on the link, it opens a blank window in the ubot browser. Quote Link to post Share on other sites
JohnB 255 Posted August 2, 2012 Report Share Posted August 2, 2012 Scrape the link and then use "In New Browser" to navigate to it. John Quote Link to post Share on other sites
KingKong 1 Posted August 2, 2012 Report Share Posted August 2, 2012 I guess, you want to open the default browser, if so you can use the following code <a href=\"http://www.amazon.com\Humbug-Romantic-Christmas-Novella-ebook\dp\B005ME39HU\" target=\"_blank\">Humbug Romantic Christmas Novella</a><br> Quote Link to post Share on other sites
jomark3 25 Posted August 2, 2012 Author Report Share Posted August 2, 2012 Scrape the link and then use "In New Browser" to navigate to it. John Sorry, I should have been a little more clear, Here is what I am doing: I am scraping a list of pages and gathering a list of about 200 urls From those urls, I create clickable links for each one using the format (<a href="http://www.abc.com" target="_blank">anchor text</a>) Then I click on Load html(in Ubot) and add the following data: <html><body><br> %list of clickable urls</body></html> This creates a list of 200 clickable anchor text links in the ubot browser. (So far so good) When I click on any of these links, a new browser window pops up in ubot, but it does not go to the intended page and the new browser window is blank with a "close Window" icon in the top left corner. I expect that buyers of this bot will want to click on all 200 of the links. How do I get those links to work and open in a new browser (for all 200 links). Quote Link to post Share on other sites
jomark3 25 Posted August 2, 2012 Author Report Share Posted August 2, 2012 Thanks guys for the time you spent trying to help me out - I really appreciate it! I finally got it to work by changing target="_blank" to target="_top" using the following link format: <a href="http://www.abc.com" target="_top">anchor text</a>) Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted August 2, 2012 Report Share Posted August 2, 2012 reason is because _blank causes the layover window (popup) and isnt supported that well yet. _top will cause it to navigate in main browser window. 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.