PageSourceSearch

https://www.firstoptionbank.com/modules/blog/scripts/common.js?v=1767047161

js firstoptionbank.com collected 2026-09-24 10:52:12 UTC 1,814 bytes, 58 lines download raw bytes

1$(function(){
2    $("#view-all-comments").click(function(e) {
3        e.preventDefault();
4        if($(this).hasClass('active')) {
5            $("#hiddenComments").slideUp();
6            $(this).html("View All").removeClass("active");
7        } else {
8            $("#hiddenComments").slideDown();
9            $(this).html("Show Less").addClass("active");
10            $(this).attr('title', 'Shows less comments for this post')
11        }
12    })
13
14    $(".comment a").click(function() {
15        $('html, body').animate({
16            scrollTop: $("#comments-section").offset().top
17            }, 1500);
18    })
19
20    $('.blogtabs p a').click(function () {
21        var itemnumber = $(this).parent().index();
22        $('.panel').hide();
23        $('.blogtabs p a').removeClass('active');
24        $(this).addClass('active');
25        $('.panel').eq(itemnumber).show();
26        $.ajax({
27            url: '/ajax/blog/tab-change.php',
28            type: 'POST',
29            data : { tab: $(this).data("name"), exp: 1},
30            dataType: 'html',
31            success:  function(){
32                // Do nothing
33            }
34        });
35        return false;
36    });
37
38    $(document).on('click', '.socialLink', function(){
39        var url = $(this).data('url'),
40        token = encodeURIComponent(window.btoa(url));
41        showSocialPopup(token, 600, 500);
42    });
43
44    $(document).on('click', '.print', function(){
45        window.print();
46        return false;
47    });
48
49})
50
51function showSocialPopup(pageUrl, width, height) {
52    var specs = "width=" + width + ",height=" + height + ",location=0,resizeable=1,status=1,scrollbars=1";
53    if(siteType == 'BANK') {
54        window.open("/disclaimer?url=" + pageUrl + "&social=true", "Social Popup", specs);
55    } else {
56        window.open(pageUrl, "Social Popup", specs);
57    }
58}

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.