PageSourceSearch

https://www.royalqueenseeds.nl/modules/countdownshortcode/countdown.js?_=d48b1777d0aaac453cd44bd14c47baa7

js royalqueenseeds.nl collected 2026-10-08 00:01:44 UTC 971 bytes, 39 lines download raw bytes

1$(function() {
2	$('.ticker').each(function(){
3		var ticker = $(this);
4		setInterval(function (){
5			var now = new Date();
6			var countTo = new Date(ticker.data('countdown'));
7			var dif = countTo-now;
8			dif = Math.floor(dif/1000);
9			if (dif>0){
10				var sec = dif%60;
11				var minute = Math.floor((dif%3600)/60);
12				var hrs = Math.floor((dif%86400)/3600);
13				var days = Math.floor(dif/86400);
14				var pad = n => (n < 10 ? '0' + n : n);
15				if (ticker.hasClass('ticker3')) {
16					ticker.html(
17						pad(days) + ' : ' +
18						pad(hrs) + ' : ' +
19						pad(minute) + ' : ' +
20						pad(sec)
21					);
22				} else {
23					var str = '';
24					if (sec>=0) str = pad(sec)+'s '+str;
25					if (minute>0) str = minute+'m '+str;
26					if (hrs>0) str = hrs+'h '+str;
27					if (days>0) str = days+'d '+str;
28					ticker.html(""+str+"");
29				}
30			} else {
31				ticker.html(
32					ticker.hasClass('ticker3')
33						? '00 : 00 : 00 : 00'
34						: '0y 0m 0d 0h 0m 0s'
35				);
36			}
37		}, 1000);
38	});
39});

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.