InfernusDoleo 0 Posted May 18, 2011 Report Share Posted May 18, 2011 I'm loading a sub window to pull data from my own web site (it pulls data from a database then puts it in a form so I can scrape the data). However, every time I run the script, the sub window doesnt refresh, it just shows what it loaded the first time. When I try to javascript a location.reload() it's refreshing the MAIN window, not the sub window. How can I force that sub window to reload every time it's called? Quote Link to post Share on other sites
UBotBuddy 331 Posted May 18, 2011 Report Share Posted May 18, 2011 Did you retry Navigating to the same link? Quote Link to post Share on other sites
InfernusDoleo 0 Posted May 18, 2011 Author Report Share Posted May 18, 2011 Did you retry Navigating to the same link? Unless I'm misunderstanding you - yes. Here's what I'm doing... I have a script that fires off and pulls up a webpage, and it navigates to the account sign up page. It then opens a subwindow to MY page that provides the account info (I dont use the internal account info as I need a REAL shipping address - I have a script that scrapes those from real estate websites). It scrapes the data, and pastes it into the account page and submits it. All works fine. When I press play to run the script again, the sub window opens with the same data in it, like it was showing the cached version, and not re-loading the window. So I tried a location.reload() javascript line in the "in sub window" section, but it refreshed the MAIN window, not the sub. I could make a reload button on the subwindow page and press that, but that seems to be... a bandaid for a problem in UBot... Quote Link to post Share on other sites
UBotBuddy 331 Posted May 18, 2011 Report Share Posted May 18, 2011 This could very well be a limitation of v3. I will ping Eddie and so he can look at it. Quote Link to post Share on other sites
UBotBuddy 331 Posted May 18, 2011 Report Share Posted May 18, 2011 Okay, try this. navigate("javascript:location.reload()") in sub window That should work. 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.