PageSourceSearch

https://vedicafarm.com/wp-content/themes/martfury/js/plugins/jquery.coundown.js?ver=1.0.0

js vedicafarm.com collected 2026-10-10 01:13:10 UTC 1,564 bytes, 47 lines download raw bytes

1/**
2 * jQuery Tabs plugin 1.0.0
3 *
4 * @author Drfuri
5 */
6(function($) {
7	$.fn.mf_countdown = function() {
8		return this.each(function() {
9			var $this = $(this),
10				diff = $this.data('expire');
11
12			var updateClock = function(distance) {
13				var days = Math.floor(distance / (60 * 60 * 24));
14				var hours = Math.floor((distance % (60 * 60 * 24)) / (60 * 60));
15				var minutes = Math.floor((distance % (60 * 60)) / (60));
16				var seconds = Math.floor(distance % 60);
17
18				$this.html(
19					'<span class="days timer"><span class="digits">' + (days < 10 ? '0' : '') + days + '</span><span class="text">' + martfuryData.days + '</span></span>' +
20					'<span class="divider">:</span>' +
21					'<span class="hours timer"><span class="digits">' + (hours < 10 ? '0' : '') + hours + '</span><span class="text">' + martfuryData.hours + '</span></span>' +
22					'<span class="divider">:</span>' +
23					'<span class="minutes timer"><span class="digits">' + (minutes < 10 ? '0' : '') + minutes + '</span><span class="text">' + martfuryData.minutes + '</span></span>' +
24					'<span class="divider">:</span>' +
25					'<span class="seconds timer"><span class="digits">' + (seconds < 10 ? '0' : '') + seconds + '</span><span class="text">' + martfuryData.seconds + '</span></span>'
26				);
27			};
28
29			updateClock(diff);
30
31			var countdown = setInterval(function() {
32				diff = diff - 1;
33
34				updateClock(diff);
35
36				if ( diff < 0 ) {
37					clearInterval(countdown);
38				}
39			}, 1000);
40		});
41	};
42
43	/* Init tabs */
44	$(function() {
45		$('.martfury-countdown').mf_countdown();
46	});
47})(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.