Have a situation where I need to retrieve a parent variable but am unable to modify the parent source code. I also want to apply any solution in a cross domain situation but using PHP coding techniques.
<div class='userbox'> <div class='avatar'><div class='element_avatar simple medium '><a href="http://thetemplars.enjin.com/profile/2819806" data-minitooltip="Noesis"><img src="http://assets-cloud.enjin.com/users/2819806/avatar/medium.1362825808.png"></a></div></div> <div class='username'><a href='/profile/2819806' class='element_username'>Noesis</a></div> <a class='logout' href='/logout'>Logout</a> </div>
The above shows the relevant section of the output source code in javascript and at the moment and I'm unawares to the actual variable names applied in the process as it is the intellectual property rights are owned by someone else. I'm in contact with their support team however in the hope they can help support retrieval of this information to help support their modular use of bolt-on php applications and pages with their forum use.
I'm using PHP as my coding platform and believe there could be useful techniques to extract data from the above that doesn't require the preferred method of a listener or simply isn't possible in the case of a java process from the child when cross domains are in use.
Ideally the textual part associated with the class "element_username" or the "data-minitooltip" value could be used as per the username displayed on the parent frame.
Could anyone advise of useful techniques how I could extract this information with only being able to apply coding changes in the child php code?