PageSourceSearch

https://www.empikfoto.cz/blog/wp-content/themes/elise/js/shadowfiend_post_review.js?ver=6.7.9

js empikfoto.cz collected 2026-09-26 13:51:51 UTC 2,014 bytes, 57 lines download raw bytes

1(function($){"use strict";
2
3  /**
4   * Copyright 2012, Digital Fusion
5   * Licensed under the MIT license.
6   * http://teamdf.com/jquery-plugins/license/
7   *
8   * @author Sam Sehnert
9   * @desc A small plugin that checks whether elements are within
10   *     the user visible viewport of a web browser.
11   *     only accounts for vertical position, not horizontal.
12   */
13
14  $.fn.visible = function(partial) { 
15    
16      var $t            = $(this),
17          $w            = $(window),
18          viewTop       = $w.scrollTop(),
19          viewBottom    = viewTop + $w.height(),
20          _top          = $t.offset().top,
21          _bottom       = _top + $t.height(),
22          compareTop    = partial === true ? _bottom : _top,
23          compareBottom = partial === true ? _top : _bottom;
24    
25    return ((compareBottom <= viewBottom) && (compareTop >= viewTop));
26
27  };
28    
29})(jQuery);
30
31jQuery(document).ready(function($) {
32    
33    var bkWindow = $(window),
34    bkRatingBars = $('.shadowfiend-overlay').find('.shadowfiend-zero-trigger');
35    $('.page-wrap').imagesLoaded(function(){
36        setTimeout(function() {
37            var shadowfiend_thumbnail = $('.page-wrap').find('.thumb');
38            $.each(shadowfiend_thumbnail, function(i, value) {
39                var shadowfiendValue = $(value);
40                if (( shadowfiendValue.visible(true) )&& ( shadowfiendValue.hasClass('hide-thumb'))) {
41                    shadowfiendValue.removeClass('hide-thumb');
42                } 
43            });
44        },800);
45    });
46    setTimeout(function() {
47        bkWindow.scroll(function(event) {
48            var shadowfiend_thumbnail = $('.page-wrap').find('.thumb');
49            $.each(shadowfiend_thumbnail, function(i, value) {
50                var shadowfiendValue = $(value);
51                if (( shadowfiendValue.visible(true) )&& ( shadowfiendValue.hasClass('hide-thumb'))) {
52                    shadowfiendValue.removeClass('hide-thumb');
53                } 
54            });
55        });
56    },2000);  
57});

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.