PageSourceSearch

https://scrambledeggsinglese.it/wp-content/plugins/saaspricing/assets/js/saaspricing-horizontal.js?ver=1.2.7

js scrambledeggsinglese.it collected 2026-10-06 19:29:08 UTC 1,734 bytes, 38 lines download raw bytes

1;(function($) {
2    "use strict";
3    $(window).on("elementor/frontend/init", function () {
4        elementorFrontend.hooks.addAction("frontend/element_ready/saasp-horizontal.default", function (scope, $) {
5
6          var saaspExpire = setInterval(function() {
7  
8            var saaspMainClass = $(scope).find(".saaspricing-countdown");
9            var saaspDate = saaspMainClass.data('expire-date');
10            if ( "undefined" !== typeof saaspDate ) { 
11            var saaspCountDownDate = [new Date(saaspDate.replace(/-/g, "/"))] ;
12            var saaspCurrentTime = new Date().getTime();
13            var saaspCountdowns = $(scope).find(".saaspricing-countdown");
14          
15            // Find the distance between now and the count down date
16            
17            saaspCountdowns.each(function() {
18              var saaspCountDownIndex = $(this).data("countdown-index");
19              var saaspDistance = saaspCountDownDate[saaspCountDownIndex] - saaspCurrentTime;
20          
21              var saaspDays = Math.floor(saaspDistance / (1000 * 60 * 60 * 24));
22              var saaspHours = Math.floor((saaspDistance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
23              var saaspMinutes = Math.floor((saaspDistance % (1000 * 60 * 60)) / (1000 * 60));
24              var saaspSeconds = Math.floor((saaspDistance % (1000 * 60)) / 1000);
25              
26              $(this).html(saaspDays + "d: " + saaspHours + "h: " + saaspMinutes + "m: " + saaspSeconds + "s ");
27          
28              if (saaspDistance < 0) {
29                clearInterval(saaspExpire);
30                $(this).html("00d: 00h: 00m: 00s");
31              }
32            });
33            }
34          }, 1000);
35             
36        });
37    })
38  })(jQuery);

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.