PageSourceSearch

https://www.kyorin-u.ac.jp/univ/news/_manage/wp-content/themes/kyo…?ver=12a9781e6027191a015e915f823fea91

js kyorin-u.ac.jp collected 2026-10-02 05:26:11 UTC 1,259 bytes, 32 lines download raw bytes

1// JavaScript Document
2jQuery(function($){
3  $('.news-article ul').each(function(){
4    $list = $(this);
5    var $link = 0;
6    console.log( $(this).attr("class") );
7    $(this).find('li a').each(function(){
8      $link ++;
9      var $ltarget = '';
10      var target = $(this).attr('target');
11      var href = $(this).attr('href');
12      if (href != null ) {
13        href = href.replace(/#/g,'');
14        if ( href.match(/.pdf/i) ) { $(this).addClass("u-icon_pdf"); $ltarget="_blank"; }
15        else if ( href.match(/.docx/i) || href.match(/.doc/i) ) { $(this).addClass("u-icon_doc"); $ltarget="_blank"; }
16        else if ( href.match(/.xlsx/i) || href.match(/.xls/i) ) { $(this).addClass("u-icon_xls"); $ltarget="_blank"; }
17        else if ( href.match(/.pptx/i) || href.match(/.ppt/i) ) { $(this).addClass("u-icon_ppt"); $ltarget="_blank"; }
18        else if ( href.match(/.zip/i) ) { $(this).addClass("u-icon_zip"); $ltarget="_blank"; }
19        else if ( target=='_blank' ){ $(this).addClass("u-icon_blank"); $ltarget="_blank"; }
20      }
21      if( $ltarget=="_blank" ){
22        $(this).attr('target','_blank');
23      }
24    
25      
26      
27    });
28    if( $link > 0 ){
29      $list.addClass("BlkArticle__listLink");
30    }
31  })
32});

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.