PageSourceSearch

https://fontimonim.co.il/wp-content/themes/fm/js/lazy-load.js?ver=1.12

js fontimonim.co.il collected 2026-10-05 02:04:41 UTC 1,260 bytes, 51 lines download raw bytes

1jQuery(function($) {
2  $fontsLoader = $(".fonts-loader");
3  $fontsContainer = $("section.font-expt-wrap");
4
5  var isLoading = false;
6  $(window).bind("scroll", function() {
7    if (
8      $(window).scrollTop() >=
9      $fontsContainer.offset().top +
10        $fontsContainer.outerHeight() -
11        window.innerHeight
12    ) {
13      if (!isLoading) {
14        load_more();
15      }
16    }
17  });
18
19  function load_more() {
20    if ($(".font-expt-wrap .font-expt").length < LazyLoadFonts.total) {
21      request_load_fonts($(".font-expt-wrap .font-expt").length);
22    }
23  }
24
25  function request_load_fonts(offset) {
26    isLoading = true;
27    $fontsLoader.show();
28    $.ajax({
29      url: LazyLoadFonts.ajax_url,
30      data: {
31        action: LazyLoadFonts.action,
32        offset: offset,
33        order: LazyLoadFontsOrder.order,
34        orderby: LazyLoadFontsOrder.orderby
35      },
36      type: "GET",
37      success: function(response) {
38        $fontsContainer.append(response);
39        activate_font_size_sliders();
40        if ( $('#changetxt input').val() ) {
41          $('#changetxt input').trigger('change');
42        }
43      },
44      error: function(xhr) {},
45      complete: function() {
46        isLoading = false;
47        $fontsLoader.hide();
48      }
49    });
50  }
51});

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.