PageSourceSearch

https://geekdad.com/wp-content/plugins/random-banner-pro/assets/script/bc_rb_global.js?ver=11.6.2

js geekdad.com collected 2026-10-02 03:38:56 UTC 2,228 bytes, 61 lines download raw bytes

1/**
2 * Global Function for Random Banner
3 */
4
5
6jQuery(document).ready(function ($) {
7    var body = $('body');
8    body.on('change', '.bc_rb_enable_slider', function () {
9        console.log('yes');
10        var change = $(this);
11        if ($('option:selected', this).text() == 'Yes') {
12            change.closest('.widget-content').find('.autoplay_options').removeClass('bc_rb_hide');
13        } else {
14            change.closest('.widget-content').find('.autoplay_options').addClass('bc_rb_hide');
15        }
16    });
17    $('.widget-inside').on('click', 'input[type=submit]', function (e, data) {
18        console.log(e);
19        console.log(data);
20    });
21
22    $('.bc_rb_enable_slider').trigger('change');
23
24    body.on('click','.bc_rb_close',function (e) {
25        $(this).closest('#popup').addClass('bc_rb_hide');
26        e.preventDefault();
27    });
28
29    body.on('click','.bc_rb_floating_close_container',function (e) {
30        var click = $(this);
31        console.log('dsd');
32        var parent = click.closest('.bc_rb_floating_container').find('.bc_rb_floating_ads_container');
33        if ($(parent).hasClass('bc_hide')){
34            $(parent).removeClass('bc_hide');
35            (click).closest('.bc_rb_floating_close_container').find('.bc_rb_floating_close').removeClass('bc_hide');
36            (click).closest('.bc_rb_floating_close_container').find('.bc_rb_floating_show').addClass('bc_hide');
37        }else {
38            (click).closest('.bc_rb_floating_close_container').find('.bc_rb_floating_close').addClass('bc_hide');
39            (click).closest('.bc_rb_floating_close_container').find('.bc_rb_floating_show').removeClass('bc_hide');
40            $(parent).addClass('bc_hide');
41        }
42        e.preventDefault();
43    });
44
45    $('.bc_rb_click_track.bc_random_banner').on('click', function (e) {
46        console.log('clicked');
47        var click = $(this);
48        var url = click.data('url');
49        var id = click.data('id');
50        console.log(url + ' - ' + id);
51        $.ajax({
52            url: url,
53            type: 'POST',
54            data: {id: id},
55            action: 'bc_rb_ads_click',
56            success: function (result) {
57                console.log('done');
58            }
59        });
60    });
61});

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.