PageSourceSearch

https://www.fmyokohama.co.jp/themes/custom/fmy2026/assets/js/blog.js?tm5xnq

js fmyokohama.co.jp collected 2026-10-02 02:54:28 UTC 2,005 bytes, 65 lines download raw bytes

1  const topBlog = async () => {
2    var today = new Date();
3    const url="/custom_folder/tmp/blog.json?" + today.getSeconds();
4    return fetch(url).then(res=>res.text());
5  }
6  
7  
8  (async()=>{
9    var result = await topBlog();
10    var data = JSON.parse(result);
11    
12    var list = document.querySelector(".article");
13    var wrapper = document.createElement("div");
14    wrapper.classList.add("blog-wrapper");
15    var ul = document.createElement("ul");
16    var cnt = 0;
17    data.forEach(function(d) {
18      var item = document.createElement("li");
19      var link = document.createElement("a");
20      console.log(d);
21      link.setAttribute('href', '/blog/article?id=' + d['id'] + '&url=' + d['link']);
22  
23      var ttl = document.createElement("p");
24      ttl.classList.add('title');
25      ttl.innerHTML = d['blogTitle']
26        .replace(/-\ Fm\ yokohama\ 84.7/g, '')
27        .replace(/-\ Fm\ yokohama/g, '');
28      
29      var txt = document.createElement("p");
30      txt.classList.add('txt');
31      txt.innerHTML = d['title'];
32  
33      var date = document.createElement("p");
34      date.classList.add('date');
35      date.innerHTML = d['date'];
36      
37      var blogInfo = document.createElement("div");
38      blogInfo.classList.add('blog-info');
39      blogInfo.appendChild(date);
40      blogInfo.appendChild(ttl);
41      blogInfo.appendChild(txt);
42
43      var img = document.createElement("div");
44      img.classList.add('blog-img');
45      var figure = document.createElement("figure");
46      var img_inner = document.createElement("img");
47      if (d['thumbnail']) {
48        img_inner.setAttribute('src', d['thumbnail']);
49      } else {
50        img_inner.setAttribute('src', '/img/common/blog.jpg');
51      }
52      
53      img.appendChild(figure);
54      figure.appendChild(img_inner);
55  
56      item.appendChild(img);
57      item.appendChild(blogInfo);
58  
59      link.appendChild(item);
60      ul.appendChild(link);
61      wrapper.appendChild(ul);
62      list.appendChild(wrapper);
63      cnt++;
64    });
65  })();

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.