PageSourceSearch

https://unioncountyfoundation.org/wp-content/plugins/wpb_website_addons/includes/js/script.js?ver=97788

js unioncountyfoundation.org collected 2026-10-09 03:24:19 UTC 1,385 bytes, 28 lines download raw bytes

1(function($) {
2    console.log('testing');
3
4    function checkWidth() {
5        var windowSize = $(window).width();
6        $('.wpb_header_button').remove();
7        // Check if window width is less or equal to 1000px
8        if (windowSize < 450) {
9            $('.wpb_header_button').remove();
10            $('#logo').after('<img style="margin: 16px auto -16px; padding-left: 8%;"  class="wpb_header_button popmake-6125" width="133" height="144" alt="Give Now" src="/wp-content/uploads/2024/02/header_button_mobile_donate.png">');
11
12        } else if (windowSize < 600) {
13            $('.wpb_header_button').remove();
14            $('#logo').after('<img style="margin: 16px auto -16px; padding-left: 20%;"  class="wpb_header_button popmake-6125" width="133" height="144" alt="Give Now" src="/wp-content/uploads/2024/02/header_button_mobile_donate.png">');
15        } else if (windowSize <= 1000) {
16            // Insert HTML after the #logo element
17            $('.wpb_header_button').remove();
18            $('#logo').after('<img style="margin: 16px auto -16px; padding-left: 30%;"  class="wpb_header_button popmake-6125" width="133" height="144" alt="Give Now" src="/wp-content/uploads/2024/02/header_button_mobile_donate.png">');
19        }
20    }
21
22    // Execute it on load
23    checkWidth();
24
25    // Tying the function to the resize event
26    $(window).resize(checkWidth);
27
28})(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.