サンプルコードを作成します。これで、iframeのコンテンツにアクセスできない別のドメインから簡単に理解できます。iframeコンテンツにアクセスできるのと同じドメイン
コードを共有します。このコードを実行して、コンソールを確認してください。コンソールで画像srcを印刷します。4つのiframeがあり、2つのiframeが同じドメインからのもので、他の2つが他のドメイン(サードパーティ)からのものです。2つの画像src(https://www.google.com/logos/doodles/2015/googles-new-logo -5078286822539264.3-hp2x.gif
そして
 コンソールでhttps://www.google.com/logos/doodles/2015/arbor-day-2015-brazil-5154560611975168-hp2x.gif)と2つのアクセス許可エラー(2エラー:プロパティ 'ドキュメントへのアクセスが拒否されました」
... irstChild)}、contents:function(a){return m.nodeName(a、 "iframe")?a.contentDocument ...
)サードパーティのiframeから送信されます。 
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
<p>iframe from same domain</p>
  <iframe frameborder="0" scrolling="no" width="500" height="500"
   src="iframe.html" name="imgbox" class="iView">
</iframe>
<p>iframe from same domain</p>
<iframe frameborder="0" scrolling="no" width="500" height="500"
   src="iframe2.html" name="imgbox" class="iView1">
</iframe>
<p>iframe from different  domain</p>
 <iframe frameborder="0" scrolling="no" width="500" height="500"
   src="https://www.google.com/logos/doodles/2015/googles-new-logo-5078286822539264.3-hp2x.gif" name="imgbox" class="iView2">
</iframe>
<p>iframe from different  domain</p>
 <iframe frameborder="0" scrolling="no" width="500" height="500"
   src="http://d1rmo5dfr7fx8e.cloudfront.net/" name="imgbox" class="iView3">
</iframe>
<script type='text/javascript'>
$(document).ready(function(){
    setTimeout(function(){
        var src = $('.iView').contents().find(".shrinkToFit").attr('src');
    console.log(src);
         }, 2000);
    setTimeout(function(){
        var src = $('.iView1').contents().find(".shrinkToFit").attr('src');
    console.log(src);
         }, 3000);
    setTimeout(function(){
        var src = $('.iView2').contents().find(".shrinkToFit").attr('src');
    console.log(src);
         }, 3000);
         setTimeout(function(){
        var src = $('.iView3').contents().find("img").attr('src');
    console.log(src);
         }, 3000);
    })
</script>
</body>