PageSourceSearch

https://www.a-slot.com/js/view_timer.js

js a-slot.com collected 2026-09-25 23:58:42 UTC 519 bytes, 20 lines download raw bytes

1$(document).ready(function() {
2  $(".view_timer").each(function(index, target) {
3    var startDate = $(this).attr("data-start-date");
4    var endDate = $(this).attr("data-end-date");
5    var nowDate = new Date();
6    if (startDate) {
7      startDate = new Date(startDate);
8    } else {
9      startDate = nowDate;
10    }
11    if (endDate) {
12      endDate = new Date(endDate);
13    }
14    if (startDate <= nowDate && (!endDate || nowDate <= endDate)) {
15      $(this).show();
16    } else {
17      $(this).hide();
18    }
19  });
20});

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.