PageSourceSearch

https://piaconline.hu/wp-content/themes/piaconline/assets/js/contrast.js?ver=7.1.1

js piaconline.hu collected 2026-09-24 21:09:58 UTC 735 bytes, 31 lines download raw bytes

1$(document).ready(function() {
2
3    $('.contrast.icon').click(function(e){
4        e.preventDefault();
5        
6        if ( $('body').hasClass('contrast') ){
7            var state = 'unset';
8        }else{
9            state = 'set';
10        }
11
12        $.ajax({
13            url: contrast_ajax_obj.ajaxurl,
14            data: {
15                'action' : 'contrast_ajax_request',
16                'state'  : state
17            },
18            dataType:"json",
19        
20            success:function(data) {
21                $('body').toggleClass('contrast');
22            },
23
24            error: function(errorThrown){
25                console.log(errorThrown);
26            }
27        });          
28    });
29
30    
31});

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.