PageSourceSearch

https://preventchildabuse.org/wp-content/themes/pcaa/js/pcaa-script.js?v=6.06

js preventchildabuse.org collected 2026-10-02 02:52:02 UTC 2,146 bytes, 60 lines download raw bytes

1jQuery(document).ready(function(){
2    function addVideoPlayButton() {
3        jQuery('.video-play-btn').prepend('<span></span>');
4    }
5    addVideoPlayButton();
6
7    function equalizeBoxHeights() {
8        jQuery('.pcaa-pc').each(function(){
9            // Cache the highest
10            var highestBox = 0;
11            // Select and loop the elements you want to equalize
12            jQuery('.pc-latest-news-up', this).each(function(){
13                // If this box is higher than the cached highest then store it
14                if(jQuery(this).height() > highestBox) {
15                    highestBox = jQuery(this).height();
16                }
17            });
18            // Set the height of all those children to whichever was highest
19            jQuery('.pc-latest-news-up',this).height(highestBox);
20        });
21    }
22    equalizeBoxHeights();
23
24    jQuery('#leave-site-btn').click(function(event){
25        event.preventDefault();
26    });
27
28    jQuery('.wp_shopify_product .prod-gallery ul li a').on('click', function(event){
29        event.preventDefault();
30        jQuery('.wp_shopify_product .prod-left > a img').attr('src', jQuery(this).find('img').attr('src'));
31    });
32    
33
34});
35
36function replaceLocation() {
37    event.preventDefault();
38    jQuery('body').prepend('<div style="position: fixed; width: 100%; height: 100%; top: 0; left: 0; right: 0; bottom: 0; background-color: #ffffff; z-index: 999999"></div>')
39    window.location.replace('https://www.google.com/');
40}
41
42jQuery('#menu-header-menu > li > a').on('click', function (e){
43    var ww = jQuery(window).width();
44    if (ww < 769) {
45        if (jQuery(this).parent('li').hasClass('menu-item-has-children') && !jQuery(this).parent('li').hasClass('expanded')) {
46            e.stopPropagation();
47            jQuery(this).next('button').click();
48            return false;
49        }
50    }
51})
52
53jQuery('.fusion-button').on('click', function (e){
54    var bthUrl = jQuery(this).attr('href');
55    if(bthUrl.indexOf('pdf#') != -1){
56        e.stopPropagation();
57        window.open(bthUrl, '_blank');
58        return false;
59    }
60})

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.