PageSourceSearch

https://bitbank.cc/assets/js/app-summerfestival2022.js

js bitbank.cc collected 2026-10-01 10:14:00 UTC 1,549 bytes, 45 lines download raw bytes

1/*--------------------------------
2
3JS
4
5----------------------------------*/
6/*--------------------------------
7Header
8----------------------------------*/
9var arrival = 30;
10$(window).scroll(function () {
11  var top = $(window).scrollTop();
12  if (arrival < top) {
13    $('.container-fluid').css('background-color', 'rgba(255,255,255,1)');
14  } else {
15    $('.container-fluid').css('background-color', 'rgba(255,255,255,0)');
16  }
17});
18/*--------------------------------
19days sp
20----------------------------------*/
21let vh = window.innerHeight * 0.01;
22document.documentElement.style.setProperty('--vh', `${vh}px`);
23/*--------------------------------
24Countdown
25----------------------------------*/
26let countdown = setInterval(function () {
27  const now = new Date()
28  const target = new Date("2022/8/31 11:59:00")
29  const remainTime = target - now
30
31  if (remainTime < 0) return false
32
33  const difDay = Math.floor(remainTime / 1000 / 60 / 60 / 24)
34  const difHour = Math.floor(remainTime / 1000 / 60 / 60) % 24
35  const difMin = Math.floor(remainTime / 1000 / 60) % 60
36  const difSec = Math.floor(remainTime / 1000) % 60
37
38  document.getElementById("countdown-day").textContent = difDay < 10 ? '0' + difDay : difDay;
39  document.getElementById("countdown-hour").textContent = difHour < 10 ? '0' + difHour : difHour;
40  document.getElementById("countdown-min").textContent = difMin < 10 ? '0' + difMin : difMin;
41  document.getElementById("countdown-sec").textContent = difSec < 10 ? '0' + difSec : difSec;
42
43  if (remainTime < 0) clearInterval(countdown)
44
45}, 1000)

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.