PageSourceSearch

https://ahimsahaircare.com/wp-content/plugins/wpc-product-videos/assets/js/frontend.js?ver=1.2.3

js ahimsahaircare.com collected 2026-10-08 06:29:33 UTC 780 bytes, 32 lines download raw bytes

1'use strict';
2
3(function($) {
4  $(document).ready(function() {
5    wpcpv_init();
6  });
7})(jQuery);
8
9function wpcpv_init() {
10  if (jQuery('.wpcpv-item').length > 0) {
11    jQuery('.woocommerce-product-gallery').lightGallery({
12      addClass: 'wpcpv-gallery',
13      selector: '.wpcpv-item',
14    });
15
16    var wpcpv_img = 0;
17
18    jQuery('.woocommerce-product-gallery .woocommerce-product-gallery__image').
19        each(function() {
20          if (jQuery(this).find('.wpcpv-item-video').length) {
21            var wpcpv_btn = jQuery(this).find('.wpcpv-item-video').clone();
22
23            jQuery('.flex-control-thumbs li').
24                eq(wpcpv_img).
25                addClass('wpcpv-thumb-video').
26                append(wpcpv_btn);
27          }
28
29          wpcpv_img++;
30        });
31  }
32}

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.