1jQuery(function($){ 2 3$(document).ready(function() { 4 5 $('.swiper-container img').on('touchstart dragstart contextmenu',function(event) { 6 event.preventDefault(); 7 }); 8 9 // æ¤ç´¢çµæã¸ã®URLãå å·¥ 10 $('#search').on('submit',function(event){ 11 event.preventDefault(); 12 search_word = $('#search_word').val(); 13 location.href = '/search/' + encodeURIComponent( search_word ) + '/'; 14 }); 15 16 $('.contact .mw_wp_form > form').attr('action', '#contact'); 17 if ($('.contact .mw_wp_form .g-recaptcha').length) { 18 $('.contact .mw_wp_form .g-recaptcha').closest('.mw_wp_form').find('input[type="submit"][name="submitConfirm"]').prop('disabled', true); 19 } 20 21 // ã¤ã³ã¿ã¼ã¹ãã¼ã·ã£ã«åºå表示 22 $('a').attr('data-google-interstitial', 'false'); 23 if (isInterstitial) { 24 $('.single-pagenation > .post-page-numbers').eq(1).attr('data-google-interstitial', ''); 25 if (pageNumber <= 1) { 26 $('.nextpage a, .single-pagenation .post-page-next').attr('data-google-interstitial', ''); 27 } 28 } 29 30}); 31 32$(window).on('load',function() { 33 34 _side = $('main > .side'); 35 _content = $('main > .content'); 36 _ranking = $('main > .side > .side-ranking'); 37 _ranking_inner = $('main > .side > .side-ranking > .side-ranking-inner'); 38 39 $(window).on('scroll',function(){ 40 // å³ã«ã©ã ã®é«ãè£æ£ 41 _content_height = _content.height(); 42 _side_height = _side.height(); 43 if ( _content_height > _side_height ) { 44 _side.height(_content_height); 45 _side_height = _content_height; 46 } 47 48 // å³ã«ã©ã ä½ç½® 49 _side_offset = _side.offset(); 50 _side_offset_top = _side_offset.top; 51 52 // ã©ã³ãã³ã°ä½ç½® 53 _ranking_offset = _ranking.offset(); 54 _ranking_offset_top = _ranking_offset.top; 55 _ranking_height = _ranking_inner.height(); 56 57 if ( _content_height >= _side_height ) { 58 _scroll_top = $('html,body').scrollTop(); 59 if ( _ranking_offset_top < _scroll_top+30 ) { 60 if ( _side_height+_side_offset_top < _ranking_height+_scroll_top+30 ) { 61 _ranking_inner.css({ 'position':'absolute', 'top':'auto', 'bottom':'0' }); 62 } else { 63 _ranking_inner.css({ 'position':'fixed', 'top':'30px', 'bottom':'auto' }); 64 } 65 } else { 66 _ranking_inner.css({ 'position':'static', 'top':'auto', 'bottom':'auto' }); 67 } 68 } 69 }); 70 71}); 72 73$(window).on('resize',function() { 74 75}); 76 77}); 78 79var grCallback = function() { 80 $('.contact .mw_wp_form .g-recaptcha').closest('.mw_wp_form').find('input[type="submit"][name="submitConfirm"]').prop('disabled', false); 81}; 82var grExpiredCallback = function() { 83 $('.contact .mw_wp_form .g-recaptcha').closest('.mw_wp_form').find('input[type="submit"][name="submitConfirm"]').prop('disabled', true); 84};
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.