I have ownership on A.com ( I wish…)
I also own B.com
is there any HTML tag / Token / code that can Allow B.com to do : top.myFunc()
________________
| A.com |
| __________ |
| | B.com | |
| |_________| |
|________________|
p.s. : I’ve seen many question about this topic but none regarding a person owns 2 domains and want to allow this.
These articles may help you
http://davidwalsh.name/window-iframe
http://ternarylabs.com/2011/03/27/secure-cross-domain-iframe-communication/