PageSourceSearch

https://thelittlelist.net/wp-content/plugins/ad-ace/assets/js/slot-slideup_ver-1.3.28.js

js thelittlelist.net collected 2026-10-03 00:01:30 UTC 2,465 bytes, 83 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10/* global jQuery */
11/* global document */
12
13(function($) {
14
15	'use strict';
16
17	var createCookie = function (name, value, time) {
18        var expires;
19
20        if (time) {
21            var date = new Date();
22            var ms = time;
23
24            if (typeof time === 'object') {
25                ms = time.value;
26
27                switch (time.type) {
28                    case 'days':
29                        ms = ms * 24 * 60 * 60 * 1000;
30                        break;
31                }
32            }
33
34            date.setTime(date.getTime() + ms);
35            expires = '; expires=' + date.toGMTString();
36        }
37        else {
38            expires = '';
39        }
40
41        document.cookie = name + '=' + value + expires + '; path=/';
42	};
43	var readCookie = function (name) {
44        var nameEQ = name + '=';
45        var ca = document.cookie.split(';');
46
47        for (var i = 0; i < ca.length; i += 1) {
48            var c = ca[i];
49            while (c.charAt(0) === ' ') {
50                c = c.substring(1, c.length);
51            }
52
53            if (c.indexOf(nameEQ) === 0) {
54                return c.substring(nameEQ.length, c.length);
55            }
56        }
57
58        return null;
59    };
60
61	var slideUp = function() {
62		var
63	 	$slideUpSlotWrap = $('.adace-slideup-slot-wrap'),
64		$slideUpCloserBtn = $slideUpSlotWrap.find('.adace-slideup-slot-closer'),
65		SlideupCookie = readCookie('adace_slideup_disabled');
66		$slideUpCloserBtn.on('click', function(e) {
67			e.preventDefault();
68			$slideUpSlotWrap.addClass('hidden');
69			createCookie('adace_slideup_disabled', 1, 24 * 60 * 60 * 1000);
70		});
71
72		if ( SlideupCookie ) {
73            $slideUpSlotWrap.remove();
74        }
75	};
76
77    $(document).ready(function(){
78        slideUp();
79    });
80
81})(jQuery);
82
83}

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.