As far as I understand you can't read the src attribute of an iframe, after a user has browsed to another page. Most browser version prevent you from accessing the src attribute, either by returning nothing, or the last value, before the user interacted with the contents of the iframe.

This is not a bug, it a feature (to protect the privacy of the users).