If your iframe is from another domain, (cross domain), the other answers are not going to help you... ... contentWindow.location.origin; var url = iframe.
確定! 回上一頁