PageSourceSearch

https://coola.irrgang.eu/wp-content/plugins/nextgen-gallery/static/Lightbox/lightbox_context.js?ver=4.5.1

js irrgang.eu collected 2026-09-25 09:59:14 UTC 971 bytes, 28 lines download raw bytes

1function nextgen_lightbox_filter_selector($, selector)
2{
3		if (nextgen_lightbox_settings && nextgen_lightbox_settings.context) {
4			var context = nextgen_lightbox_settings.context;
5			
6			if (context == 'all_images') {
7				 selector = selector.add($('a > img').parent());
8			}
9			else if (context == 'all_images_direct') {
10				selector = selector.add($('a[href] > img').parent()
11				 		.filter(function() {
12							var href = $(this).attr('href').toLowerCase();
13							var ext = href.substring(href.length - 3);
14							var ext2 = href.substring(href.length - 4);
15							
16							return (ext == 'jpg' || ext == 'gif' || ext == 'png' || ext2 == 'tiff' || ext2 == 'jpeg' || ext2 == 'webp');
17						}));
18			}
19			else if (context == 'nextgen_and_wp_images') {
20				 selector = selector.add($('a > img[class*="wp-image-"]').parent());
21			}
22			
23			selector = selector.not('.gallery_link');
24            selector = selector.not('.use_imagebrowser_effect');
25		}
26		
27		return selector;
28}

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.