PageSourceSearch

https://www.politonline.ru/js/resize-sf-iframe.js

js politonline.ru collected 2026-10-02 08:08:45 UTC 415 bytes, 15 lines download raw bytes

1function resizeSfIframe (element) {
2    element.style.height = 'auto';
3    element.style.height = element.contentWindow.document.body.scrollHeight + "px";
4
5    var parent = element.parentNode;
6
7    while (parent) {
8        if (parent.className && parent.className.indexOf('staticFragment') !== -1) {
9            parent.style.height = 'auto';
10            break;
11        }
12
13        parent = parent.parentNode;
14    }
15}

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.