PageSourceSearch

https://valentinritz.com/wp-content/themes/new-blog/js/modal-ajax.js?ver=1.16.0

js valentinritz.com collected 2026-10-06 13:14:52 UTC 849 bytes, 21 lines download raw bytes

1document.querySelectorAll('.readmore-modal').forEach((element) => {
2    element.addEventListener('click', (e) => {
3        e.preventDefault();
4        var data = {
5            'postID': e.target.getAttribute('data-modal'),
6            'action': 'new_blog_modal_popup',
7        };
8        jQuery.ajax({
9            url: context_object.ajaxurl,
10            data: data,
11            type: 'POST',
12            success: function (response) {
13                console.log(response);
14                jQuery("#modalPostConetentPopup .modal-header").html(response.modalHeader);
15                jQuery("#modalPostConetentPopup .modal-body").html(response.modalBody);
16                jQuery("#modalPostConetentPopup .modal-footer").html(response.modalFooter);
17                jQuery("#modalPostConetentPopup").modal('show');
18            }
19        });
20    });
21});

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.