PageSourceSearch

https://www.movistarplus.es/assets/scripts/captacion/benefits.js?1789563883

js movistarplus.es collected 2026-10-01 10:24:08 UTC 1,132 bytes, 37 lines download raw bytes

1    window.onload = function() {
2    function adjustBoxTitleHeights() {
3        const parentContainers = document.querySelectorAll('.mplus-benefits__container');
4
5        parentContainers.forEach(container => {
6            const boxTitles = container.querySelectorAll('.mplus-benefits__boxtitle');
7            let maxHeight = 0;
8
9            boxTitles.forEach(boxTitle => {
10                const titleHeight = boxTitle.offsetHeight;
11
12                if (titleHeight > maxHeight) {
13                    maxHeight = titleHeight;
14                }
15            });
16
17            boxTitles.forEach(boxTitle => {
18                boxTitle.style.height = `${maxHeight}px`;
19            });
20        });
21    }
22
23    if (window.innerWidth > 480) {
24        adjustBoxTitleHeights();
25    }
26
27    window.addEventListener('resize', function() {
28        if (window.innerWidth > 480) {
29            adjustBoxTitleHeights();
30        } else {
31            const boxTitles = document.querySelectorAll('.mplus-benefits__boxtitle');
32            boxTitles.forEach(boxTitle => {
33                boxTitle.style.height = 'auto';
34            });
35        }
36    });
37};

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.