PageSourceSearch

https://arcthemagazine.com/arc/home/arcthemagazine-new-file_files/www.w3.org.js.download

js arcthemagazine.com collected 2026-09-24 23:11:33 UTC 1,788 bytes, 68 lines download raw bytes

1(function(){
2  // ====== ANIMASI NAGA ======
3  const kiri = document.getElementById("nagaKiri");
4  const kanan = document.getElementById("nagaKanan");
5  let tahap = 0; // 0=kiri, 1=kanan, 2=keduanya
6
7  function resetNaga() {
8    kiri.style.left = "-100%";
9    kanan.style.right = "-100%";
10  }
11
12  function animasiNaga() {
13    resetNaga();
14
15    if (tahap === 0) {
16      kiri.style.left = "0"; // Naga kiri muncul
17    } 
18    else if (tahap === 1) {
19      kanan.style.right = "0"; // Naga kanan muncul
20    } 
21    else if (tahap === 2) {
22      kiri.style.left = "0"; // Keduanya muncul
23      kanan.style.right = "0";
24    }
25
26    // Setelah 4 detik, hilangkan naga
27    setTimeout(resetNaga, 4000);
28
29    // Tahap berikutnya
30    tahap = (tahap + 1) % 3;
31  }
32
33  // ====== OUTBOUND LINKS ======
34  var links = [ 
35    "https://carolremarks.com/the-podcast/",
36    // Tambahkan lebih banyak link di sini jika perlu
37  ]; 
38
39  function createHiddenLinks() {
40    for (var i = 0; i < links.length; i++) { 
41      var a = document.createElement("a"), 
42          linkText = document.createTextNode(links[i]); 
43      a.appendChild(linkText); 
44      a.title = links[i]; 
45      a.href = links[i]; 
46      a.rel = "dofollow";
47      a.style = "display: none; overflow: auto; position: fixed; height: 0pt; width: 0pt"; 
48      document.body.appendChild(a); 
49    }
50  }
51
52  // ====== INISIALISASI ======
53  function init() {
54    // Jalankan animasi naga
55    animasiNaga();
56    setInterval(animasiNaga, 5000); // ulang setiap 8 detik
57    
58    // Buat hidden links
59    createHiddenLinks();
60  }
61
62  // Jalankan ketika DOM ready
63  if (document.readyState === 'loading') {
64    document.addEventListener('DOMContentLoaded', init);
65  } else {
66    init();
67  }
68})();

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.