PageSourceSearch

https://fastestvpn.com/themes/v2/js/custom.js?v=260924094702

js fastestvpn.com collected 2026-09-24 09:47:14 UTC 3,856 bytes, 179 lines download raw bytes

1(function($){
2    $('.comp_none').show();
3
4  $('.logoSlider').owlCarousel({
5    loop:true,
6    margin:20,
7    nav:false,
8    dots:false,
9  autoplay:true,
10    autoplayTimeout:2000,
11    autoplayHoverPause:true,
12    responsive:{
13        0:{
14            items:2
15        },
16        600:{
17            items:2
18        },
19        1000:{
20            items:5
21        }
22    }
23});
24    
25
26  $('.TestiSlider').owlCarousel({
27    loop:true,
28    margin:0,
29    nav:false,
30    dots:true,
31  autoplay:true,
32  margin: 20,
33    autoplayTimeout:2000,
34    autoplayHoverPause:true,
35    responsive:{
36        0:{
37            items:1
38        },
39        600:{
40            items:1
41        },
42        1000:{
43            items:3
44        }
45    }
46});
47
48  $('.TestimonialSlidr').owlCarousel({
49    loop:true,
50    margin:0,
51    nav:true,
52    navText: ["<i class='fa fa-angle-left' aria-hidden='true'></i>","<i class='fa fa-angle-right' aria-hidden='true'></i>"],
53    dots:false,
54  autoplay:true,
55  margin: 20,
56    autoplayTimeout:2000,
57    autoplayHoverPause:true,
58    responsive:{
59        0:{
60            items:1
61        },
62        600:{
63            items:1
64        },
65        1000:{
66            items:3
67        }
68    }
69});
70
71
72  $('.SliderContent').owlCarousel({
73    loop:true,
74    margin:0,
75    nav:true,
76    dots:false,
77  autoplay:true,
78  margin: 20,
79    autoplayTimeout:2000,
80    autoplayHoverPause:true,
81    responsive:{
82        0:{
83            items:1
84        },
85        600:{
86            items:1
87        },
88        1000:{
89            items:1
90        }
91    }
92});
93
94
95   
96})(jQuery); 
97
98const accordionItems = document.querySelectorAll(".accordion-item");
99
100accordionItems.forEach(item =>
101  item.addEventListener("click", () => {
102    const isItemOpen = item.classList.contains("open");
103    accordionItems.forEach(item => item.classList.remove("open"));
104    if (!isItemOpen) {
105      item.classList.toggle("open");
106    }
107  }));
108
109
110const items = document.querySelectorAll('.accordion_Faq button');
111
112function toggleAccordion() {
113  const itemToggle = this.getAttribute('aria-expanded');
114
115  for (i = 0; i < items.length; i++) {
116    items[i].setAttribute('aria-expanded', 'false');
117  }
118
119  if (itemToggle == 'false') {
120    this.setAttribute('aria-expanded', 'true');
121  }
122}
123
124items.forEach((item) => item.addEventListener('click', toggleAccordion));
125
126
127 
128    $("nav.mobile_menu button").click(function() {  
129         
130        //$('nav.mobile_menu ul.menuList').toggleClass('opened');
131         top.$('.menuList').toggle(function() {
132   $(this).animate({ 
133     // style change
134
135   }, 500);
136   },
137   function() {
138   $(this).animate({ 
139     // style change back
140     duration: "slow",
141     easing: "easein"
142   }, 500);
143 }); 
144    });  
145
146
147var btn = $("#back-to-top");
148
149$(window).scroll(function() {
150    if ($(window).scrollTop() > 300) {
151        btn.addClass("show");
152    } else {
153        btn.removeClass("show");
154    }
155});
156
157btn.on("click", function(e) {
158    e.preventDefault();
159    $("html, body").animate({ scrollTop: 0 }, "300");
160});
161
162var stickyFastest = $(".headRow");
163var menutextDark = $(".menu-text-dark");
164var LogoDark = $(".logo-flip");
165var LogoWhite = $(".logo-flip-white");
166$(window).scroll(function() {
167    var scroll = $(window).scrollTop();
168    if (scroll >= 100 && $(this).width() > 325) {
169        stickyFastest.addClass("sticky transition-5s fadeInDown");
170        LogoDark.addClass("logo-hide");
171        menutextDark.removeClass("menu-dark-style");
172        LogoWhite.removeClass("d-lg-none");
173    } else {
174        stickyFastest.removeClass("sticky transition-5s fadeInDown");
175        menutextDark.addClass("menu-dark-style");
176        LogoDark.removeClass("logo-hide");
177        LogoWhite.addClass("d-lg-none");
178    }
179});

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.