By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,575 Members | 1,293 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,575 IT Pros & Developers. It's quick & easy.

Javascript hiding html access

P: 1
Hello all
I do a lot of remote data acquisition, often through a vpn and telnet but more recently through secure web sites. Generally I can access the web page html by getting a webrowser object and directly filling in login/search forms, clicking buttons or links for navigation, basically anything on the pages then grabbing the data I need. Recently though I have run into a couple of Web Portals where the main login, etc is much the same as any other site but the actual working part starts a new Explorer window, controlled by Java which I can not seem to get access to anything in. I can do a view source and see the html there, I can even get an object to the new window but can not find any way to access or control the html. I have tried through visual basic, c++ , even Java... feel like I must be missing something. The only way I have found to control these windows is by using direct mouse and keyboard entry and doing right click type select and copy, it does work but the window has to have focus so the process can not run in the background. I am interested if anyone else has run into this kind of problem or has any ideas on how I can remotely control this kind of secure window in a more robust manner.
Dec 1 '06 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
If it's from a different domain, JavaScript cannot access the window and elements within the window. It will need to come from your domain using server-side code for you to be able to access it via JavaScript, or in a reduced security environment.
May 31 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.