Get iFrame Current Source URL

brycesenz - October 24, 2009 - 00:09
Project:Iframe
Version:6.x-1.3
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have an iFrame which allows my users to browse another site. Is there any way that I can grab the current URL that the iFrame is pointing to at any point in time?

To illustrate with a practical application: Say that a user was browsing amazon.com through my iFrame, and found a product that he/she wanted to bookmark. This functionality would allow the creation of a "bookmark" node that captures the URL from the iFrame.

Any thoughts on how this could be accomplished would be greatly appreciated.

 
 

Drupal is a registered trademark of Dries Buytaert.