PageSourceSearch

https://www.cooperstowncred.com/wp-content/plugins/data-tables-gen…/app/assets/js/notify.js?ver=1.15.3

js cooperstowncred.com collected 2026-10-02 05:10:24 UTC 1,493 bytes, 58 lines download raw bytes

1(function ($) {
2  $.sNotify = function (options) {
3    console.log('1');
4    if (!this.length) {
5      return this;
6    }
7
8    var $wrapper = $('<div class="s-notify">').css({
9      position: 'fixed',
10      display: 'none',
11      right: '1.7em',
12      top: '3.3em',
13      padding: '1em',
14      'background-color': 'white',
15      'box-shadow': '0px 0px 6px 0px rgba(0,0,0,0.1)',
16      'z-index': 99999,
17    });
18
19    $wrapper.wrapInner(this);
20    $wrapper.appendTo('body');
21
22    if (options.icon) {
23      $('<i/>').addClass(options.icon).appendTo($wrapper);
24    }
25
26    if (options.content) {
27      $('<div class="notify-content"></div>').css('display', 'inline-block').wrapInner(options.content).appendTo($wrapper);
28    }
29
30    setTimeout(function () {
31      $wrapper.fadeIn();
32      if (options.delay) {
33        setTimeout(function () {
34          $wrapper.fadeOut(function () {
35            $wrapper.remove();
36          });
37        }, options.delay);
38      }
39    }, 200);
40
41    return $.extend($wrapper, {
42      close: function (timeout) {
43        setTimeout(function () {
44          $wrapper.fadeOut(function () {
45            $wrapper.remove();
46          });
47        }, timeout || '0');
48      },
49      update: function (content, icon) {
50        this.find('.notify-content').empty().append(content);
51        if (icon) {
52          this.find('i').removeClass().addClass(icon);
53        }
54        return this;
55      },
56    });
57  };
58})(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.