PageSourceSearch

https://www.lin-shiao-tung.com/assets/cache/d55d6d5ee5f9dd029e0b393390b71813.js

js lin-shiao-tung.com collected 2026-09-29 20:37:47 UTC 1,321 bytes, 45 lines download raw bytes

1;(function() {
2  'use strict';
3  
4  // Class className
5  function Footer() {
6      // set href to setLang btn
7      // var url = window.location.href
8      // if( url.includes('?lang=') ) {
9      //   url = url.slice(0,-8);
10      // }
11      this.init();
12      //console.log("AUTO_LANGUAGE",AUTO_LANGUAGE)
13  }
14
15  Footer.prototype.init = function() {
16    $('.js-setLang').on('change', function() {
17      window.location.href = $(this).val();
18    });
19
20    // same as footer-2.js
21    $('#js-footer-sitemap-list').find('>li.has_children').each(function() {
22        $(this).children(":first").after(`<div class="_footer_top__plus">+</div>`);
23    });
24
25    $(`._footer_top__plus`).bind('click', function(e) {
26      $(this).parent(`li`).toggleClass('_footer_sitemap__list--on').siblings().removeClass('_footer_sitemap__list--on');
27      $(this).parent(`li`).find('>ul').slideToggle().parent().siblings().find('>ul').slideUp();
28
29      // change icon
30      if( $(this).parent(`li._footer_sitemap__list--on`).length === 1 ){
31        $(this).parents(`#js-footer-sitemap-list`).find('._footer_top__plus').each(function() {
32          $(this).html(`+`);
33        });
34        $(this).html('-');
35      }else{
36        $(this).html(`+`);
37      }
38    });
39    // same as footer-2.js
40  };
41
42  $(function() {
43    new Footer();
44  });
45})();

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.