PageSourceSearch

https://isp.cityfujisawa.ne.jp/universal-service-price/js/script.js

js cityfujisawa.ne.jp collected 2026-10-02 04:31:32 UTC 543 bytes, 16 lines download raw bytes

1const tabs = document.querySelectorAll('.tab_menu');
2
3for(let i = 0; i < tabs.length; i++){
4    tabs[i].addEventListener('click',tabSwitch);
5    
6};
7
8function tabSwitch(){
9
10    document.getElementsByClassName('active')[0].classList.remove('active');
11    this.classList.add('active');
12    document.getElementsByClassName('show')[0].classList.remove('show');
13    const arrayTabs = Array.prototype.slice.call(tabs);
14    const index = arrayTabs.indexOf(this);
15    document.getElementsByClassName('tab_detail_wrap')[index].classList.add('show');
16};

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.