PageSourceSearch

https://www.fro.at/wp-content/plugins/facebook-pagelike-widget/assets/js/fb.js?ver=3.0

js fro.at collected 2026-09-24 08:37:13 UTC 1,599 bytes, 52 lines download raw bytes

1(function($) {
2    "use strict";
3
4    var removeFBLoader = function() {
5        var $loader = $('.fb_loader');
6        if ($loader.length > 0) {
7            $loader.fadeOut('slow', function() {
8                $(this).remove(); 
9                $('.fb-page').addClass('fb_plugin_rendered'); 
10            });
11        }
12    };
13
14    window.fbAsyncInit = window.fbAsyncInit || function() {
15        if (typeof FB !== 'undefined') {
16            FB.Event.subscribe('xfbml.render', function() {
17                removeFBLoader();
18            });
19        }
20    };
21
22    $(document).ready(function() {
23        // Initial parse for standard loads
24        if (typeof FB !== 'undefined' && typeof FB.XFBML !== 'undefined') {
25            FB.XFBML.parse();
26        }
27
28        // Fallback for slow connections
29        setTimeout(removeFBLoader, 8000);
30    });
31
32    /** Admin Widget Logic **/
33    function toggleWidthField(context) {
34        $(context).find('.adapt-click').each(function() {
35            var isChecked = $(this).is(':checked');
36            $(this).closest('form').find('.width_option').toggle(!isChecked);
37        });
38    }
39
40    $(document).ready(function() {
41        toggleWidthField(document);
42        $(document).on('change', '.adapt-click', function() {
43            toggleWidthField($(this).closest('form'));
44        });
45        $(document).on('widget-added widget-updated', function(event, widget) {
46            toggleWidthField(widget);
47            if (typeof FB !== 'undefined' && typeof FB.XFBML !== 'undefined') {
48                FB.XFBML.parse();
49            }
50        });
51    });
52})(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.