I know it's a security issue. But is there any way in HTML5. Cause I seen the below code opens a window with the parents URL in tweet box
<iframe src="https://platform.twitter.com/widgets/tweet_button.html"
style="border: 0; width:130px; height:20px;"></iframe>
Try this inside the iframe. It will alert the parent window's location URL.
alert(document.referrer);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With