PageSourceSearch

https://www.sagawa-exp.co.jp/column/assets/js/top-column.js

js sagawa-exp.co.jp collected 2026-09-24 08:28:13 UTC 703 bytes, 20 lines download raw bytes

1//TOP重要なお知らせ欄 202502
2document.addEventListener("DOMContentLoaded", () => {
3  const main = document.getElementsByTagName('main')[0];
4  const top_infomation__list = document.getElementById('top-infomation__list');
5  window.addEventListener("load", (event) => {
6    if(window.innerWidth > 1630){
7      main.style.paddingTop = top_infomation__list.offsetHeight + "px";
8    }
9  });
10  let w = window.innerWidth
11  window.addEventListener('resize', () => {
12    if (w === window.innerWidth) return;
13    w = window.innerWidth;
14    if(w <= 1630){
15      main.style.paddingTop = 0;
16    }else{
17      main.style.paddingTop = top_infomation__list.offsetHeight + "px";
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.