PageSourceSearch

https://www.juguetilandia.com/blog/wp-content/themes/blogus/js/dark.js?ver=7.0.2

js juguetilandia.com collected 2026-09-24 09:51:48 UTC 1,124 bytes, 38 lines download raw bytes

1(function($) {
2    "use strict"; 
3  
4    function siteModeToggle(siteModeVal) {
5        $.removeCookie('blogus-site-mode-cookie', {
6            path: '/'
7        });
8        var updateVal;
9        if (siteModeVal === 'defaultcolor') {
10            updateVal = 'dark';
11        } else {
12            updateVal = 'defaultcolor';
13        }
14        $("#switch").removeClass(siteModeVal);
15        $("#switch").addClass(updateVal);
16        $('body').removeClass(siteModeVal);
17        $('body').addClass(updateVal);
18        var exDate = new Date();
19        exDate.setTime(exDate.getTime() + (3600 * 1000));
20        $.cookie('blogus-site-mode-cookie', updateVal, {
21            expires: exDate,
22            path: '/'
23        });
24    }
25
26    $("#switch").click(function(event) {
27        event.preventDefault();
28        var siteModeClass = $(this).attr('class');
29        var siteModeAttr = $(this).data('skin-mode');  
30
31        if ($(this).hasClass(siteModeAttr)) {
32            siteModeToggle(siteModeAttr);
33        } else {
34            siteModeToggle(siteModeClass);
35        }
36    });
37  
38})(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.