PageSourceSearch

https://kubana.me/user/themes/kubaname/scripts/courses/courses.init.js?g-9c4ccbd4

js kubana.me collected 2026-10-07 17:57:09 UTC 1,136 bytes, 27 lines download raw bytes

1jQuery(window).load(function() {
2    jQuery('[data-course]').each(function(index) {
3        var course = jQuery(this);
4        var iframe = jQuery('[data-iframe-src]', course);
5
6        if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('iPhone OS') != -1 && navigator.userAgent.indexOf('Chrome') == -1) {
7            var button = jQuery('.course-link-googleform', course);
8            button.attr('target', '_blank');
9            button.attr('href', button.data('form-url'));
10        } else if(iframe.length > 0) {
11            jQuery('.course-link-googleform', course).click(function(event) {
12                event.preventDefault();
13                iframe.attr('src', iframe.data('iframe-src'));
14                iframe.removeClass('hidden');
15            });
16
17            $(document).click(function(event) {
18                if (!$(event.target).closest(course).length) {
19                    if (iframe.is(":visible")) {
20                        iframe.attr('src', 'about:blank');
21                        iframe.addClass('hidden');
22                    }
23                }
24            });
25        }
26    });
27});

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.