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

Accessing dom structure of a webpage (cross-domain-issue)

P: 25
Hi all,

Is there any way to access the dom structure of a remote webpage (say gmail login web page) from a javascript?


Thanks
DNK2007
Jan 29 '08 #1
Share this Question
Share on Google+
4 Replies


gits
Expert Mod 5K+
P: 5,333
hi ...

not with javascript ... this is due to security features of a browser to avoid cross-site-scripting (css) issues ... and i assume you tried it already :)

kind regards
Jan 29 '08 #2

P: 25
hi ...

not with javascript ... this is due to security features of a browser to avoid cross-site-scripting (css) issues ... and i assume you tried it already :)

kind regards
Hi gits,

Is it possible to access it from other language/scripting language?

Thnaks
DNK2007
Jan 29 '08 #3

gits
Expert Mod 5K+
P: 5,333
may be you could get a serverside script to load the page ... now you could copy it and deliver a page that is now 'from your domain' :)
Jan 29 '08 #4

P: 25
may be you could get a serverside script to load the page ... now you could copy it and deliver a page that is now 'from your domain' :)

Hi gits,

Thanks for your valuable information.

Thanks
DNK2007
Jan 29 '08 #5

Post your reply

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