PageSourceSearch

https://www.iab.com/wp-content/themes/iab/assets/js/init-iframe-resizer.js?ver=7.0.2

js iab.com collected 2026-09-24 08:03:14 UTC 839 bytes, 31 lines download raw bytes

1(function($) {
2  $(document).ready(function() {
3
4    // resize remote iframes
5    if (typeof iFrameResize !== 'undefined') {
6      // make sure content has loaded within the iframe before reporting its height
7      window.setTimeout(function() {
8        iFrameResize({ log: true }, '.iframe-auto-resize');
9      }, 50);
10      
11    }
12
13    // resize local iframes
14    (function(iframes) {
15      iframes.each(function() {
16        var iframe = this;
17        window.setTimeout(function() {
18          // iframe.width  = iframe.contentWindow.document.body.scrollWidth;
19          // iframe.height = $(iframe.contentWindow.document).height();
20        
21          // console.log($(window).height());
22          iframe.height = $(window).height();
23        }, 50);
24        
25      });
26        
27    })($('.iframe-auto-resize-local'));
28
29
30  });
31})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.