PageSourceSearch

https://www.ernieball.de/assets/js/image-swapper.js,q1788383187.pagespeed.jm.aNKF_Ha6Zd.js

js ernieball.de collected 2026-09-28 10:38:51 UTC 811 bytes, 1 lines download raw bytes

1(function($){var lastWidth=$(window).width();function checkImages(width){var swaps=$('.iSwap');swaps.each(function(){var image=$(this);var current=image.attr('src');var replace=image.data('default');var display=(typeof image.data('display')==='undefined')?'block':image.data('display');var widths=image.data('widths');if(isNaN(widths)){var sizes=widths.split(',');$(sizes).each(function(index,value){if(width>value){replace=image.data(value);}});}else{if(width>widths){replace=image.data(widths.toString());}}if(current!==replace){image.attr('src',replace);}image.css('display',display);});lastWidth=width;}checkImages($(window).width());$(window).resize(function(){checkImages($(window).width());});setInterval(function(){var width=$(window).width();if(width!==lastWidth){checkImages(width);}},500);})(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.