abdus Posted January 22, 2011 Share Posted January 22, 2011 hi, I have a page with Iframe contains remote website . the user should browse the Iframe'd website and when he finish he goes out with the cursor and clicks some button outside the frame ( in the parent page) I only want the last URL he visited in the frame . I've tried with src attribute but looks like it doesn't update when the user go to another page in the frame I've seen some of the ideas to access Iframe nodes but seems that no one of them works with me . do I need to access the Iframe, I think it could be done with some ajax in some way any help is highly appreciated, 'cuz I searched a lot TIA Quote Link to comment Share on other sites More sharing options...
.josh Posted January 22, 2011 Share Posted January 22, 2011 Not possible. This is cross-site scripting (XSS) and not allowed for what should be obvious security reasons. Quote Link to comment Share on other sites More sharing options...
abdus Posted January 23, 2011 Author Share Posted January 23, 2011 could the URL be obtained without the need to access the frame DOM, is there any other way to get it, I've read about 'proxy Iframe'(?) and some other tricks but seems that I haven't done them right. Quote Link to comment Share on other sites More sharing options...
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.