PageSourceSearch

https://img.technews.tw/wp-content/themes/twentytwelve/js/lightbox/light_box_effect.js?ver=2610010933

js technews.tw collected 2026-10-01 10:11:59 UTC 1,395 bytes, 37 lines download raw bytes

1jQuery(document).ready(function () {
2
3    jQuery(".bigg img , .indent img , .post-image img , .copy > p > img").not('.more img , .bootstrap-yop img').wrap('<div class="popup-gallery"></div>');
4
5    jQuery(".bigg img , .indent img , .post-image img , .copy > p > img")
6        .not('.more img')
7        .not('.TN_Basic-vote-button-img').each(function () {
8        img_tag = jQuery(this);
9        img_src = jQuery(this).attr('src');
10        img_alt = jQuery(this).attr('alt');
11        img_tag.attr('border', '0').attr('class', 'thumb').attr('class', 'aligncenter');
12        if (img_src.includes('http')) {
13            jQuery(img_tag).wrap('<a title="' + img_alt + '" alt="' + img_alt + '" href="' + img_src + '"></a>');
14        }
15    });
16
17    jQuery('.popup-gallery').magnificPopup({
18        delegate: 'a',
19        type: 'image',
20        tLoading: 'Loading image #%curr%...',
21        mainClass: 'mfp-img-mobile',
22        gallery: {
23            enabled: true,
24            navigateByImgClick: true,
25            preload: [0, 1]
26        },
27        image: {
28            tError: '<a href="%url%">The image #%curr%</a> �∪�𣇉��!.',
29            titleSrc: function (item) {
30                return item.el.attr('title');
31            }
32        }
33    });
34
35    jQuery('.popup-gallery').click(function(){ if( jQuery('.mfp-counter').text() === ""){ jQuery('.mfp-text').css('display', 'none') }});
36
37});

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.