PageSourceSearch

https://theredcarpet.org.uk/js/testimonials/google_carousel.js

js theredcarpet.org.uk collected 2026-10-10 01:05:31 UTC 1,119 bytes, 45 lines download raw bytes

1  document.addEventListener('DOMContentLoaded', function() {
2
3    // var swiper = new Swiper('.swiper', {
4    //   slidesPerView: 1,
5    //   spaceBetween: 16,
6    //   loop: true,
7    //   speed: 600,
8    //   autoplay: {
9    //     delay: 3000,
10    //     disableOnInteraction: false 
11    //   },
12    //   navigation: {
13    //     nextEl: '.swiper-button-next',
14    //     prevEl: '.swiper-button-prev'
15    //   },
16    //   pagination: {
17    //     el: '.swiper-pagination',
18    //     clickable: true,
19    //     dynamicBullets: true
20    //   },
21    //   keyboard: {
22    //     enabled: true,
23    //     onlyInViewport: true
24    //   },
25    //   lazy: {
26    //     loadPrevNext: true,
27    //   },
28    // });
29
30
31    function getRandomColor() {
32      var letters = '0123456789ABCDEF';
33      var color = '#';
34      for (var i = 0; i < 6; i++) {
35        color += letters[Math.floor(Math.random() * 16)];
36      }
37      return color;
38    }
39
40    document.querySelectorAll('.avatar').forEach(function(avatar) {
41      avatar.style.backgroundColor = getRandomColor();
42    });
43
44
45  });

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.