1$(function(){ 2 $('.newsdate').each(function() { 3 var str = $(this).html(); 4 var res = str.split('æ¥')[0]+'æ¥'; 5 $(this).html(res.replace('[', '').replace('å¹´', '.').replace('æ', '.').replace('æ¥', '')); 6 }); 7}); 8 9$(function(){ 10 11//診çæéã«ã¢ã¤ã³ã³æè¼ 12 $('.header_week').each(function(){ 13 var txt = $(this).html(); 14 $(this).html( 15 txt.replace(/診çæéã¯ãã¡ã/g,'<i class="material-icons">chevron_right</i> 診çæé')); 16 }); 17}); 18//TELã«ã¢ã¤ã³ã³æè¼ 19//2019.06.03 change start 20// $(function(){ 21// $('.header_tel').each(function(){ 22// var txt = $(this).html(); 23// $(this).html( 24// txt.replace(/TEL/g,'<i class="material-icons">local_phone</i>')); 25// }); 26// }); 27$(function(){ 28 $('.header_tel').each(function(){ 29 var txt = $(this).html(); 30 var url = location.href; 31 var rep_atag = ""; 32 if ( url.includes('?') ) { 33 params = url.split('?'); 34 sparams = params[1].split("&"); 35 var paramArray = []; 36 for ( i = 0; i < sparams.length; i++ ) { 37 sval = sparams[i].split("="); 38 paramArray.push(sval[0]); 39 paramArray[sval[0]] = sval[1]; 40 } 41 if ( paramArray["mb_preview"] == "true") { 42 var rep_atag = "<a href=\"tel: #clinictel\" onclick=\"ga('send', 'event', 'clickâ, 'tel');ga('newTracker.send', 'event', 'click', 'tel');\">"; 43 } 44 } 45 46 $(this).html( 47 txt.replace(/TEL/g,'<i class="material-icons">local_phone</i>' + rep_atag) 48 ); 49 }); 50}); 51//2019.06.03 change end 52 53 54// 55$(function () { 56 $('#images').insertBefore('#contents'); 57}); 58//å°å³ã«ã¢ã¤ã³ã³æè¼ 59$(function(){ 60 $('.mapSec_tomappage').each(function(){ 61 var txt = $(this).html(); 62 $(this).html( 63 txt.replace(/大ããå°å³ã¯ãã¡ã/g,'<i class="material-icons">location_on</i> 大ããå°å³ã¯ãã¡ã')); 64 }); 65}); 66//ã¹ããã«ã¡ãã¥ã¼ã®ã¢ã¤ã³ã³ãè¨è¼ 67 $(function(){ 68 $('#mobile a').each(function(){ 69 var txt = $(this).html(); 70 $(this).html( 71 txt.replace(/<img .*?src="(.*?)".*?>/g,'<i class="material-icons">menu</i>')); 72 }); 73}); 74 75//$(function(){ 76//$('#footer').wrapAll('<div class="footercontents" />'); 77//}); 78 79$(function(){ 80$('table').wrap('<div class="scroll-table" />'); 81}); 82 83$(function(){ 84//以ä¸ã¾ã¨ãã¦function 85 86 var headerWeek = $('.header_week p'); 87 if (headerWeek.length != 0) { 88 headerWeek.html(headerWeek.html().replace(/\<br\>/gi,'')); 89 headerWeek.find('i').appendTo(headerWeek.find('a')); 90 } 91 //var infoData = $('.infoSec .info_date'); 92 //if (infoData.length != 0) { 93 // infoData.html(infoData.html().replace(/\[|\]|\s/gi,'')); 94 //} 95 $('#searchsubmit').attr('src','https://wevery.jp/wp-content/uploads/2019/05/icon_find.png'); 96 //$('.flexslider .slides').append($('.caption-wrap')); 97 for(var i = 0; i < $('.flexslider .slides .ms-image').length; i++){ 98 //alert($('.caption-wrap').eq(i).html()); 99 $('.flexslider .slides .ms-image').append($('.caption-wrap').eq(i).val()); 100 } 101 $('#footer').append($('#footer .address')); 102 103 104 105 $('#header .header_tel .tel a').text('TEL'); 106 //$('.banner.smart_phonebottom').before($('.banner.smart_phonetop')); 107 $('#menu-main_menu').before('<div class="menu-side_top"></div>'); 108 109 //$('.menu-side_top #page_search').attr('id','page_search2'); 110 //$('.menu-side_top #s').attr('id','s2'); 111 //$('.menu-side_top #searchsubmit').attr('id','searchsubmit2'); 112 113 // 2020.08.06 change start 114 // safariã ã¨ä¸æããã³ãã¼ã¬ã¡ãã¥ã¼ãåä½ããªããããã¯ãªãã¯ã¤ãã³ãã®æå®æ¹æ³ã夿´ 115 // $('#mobile').on('click', function() { 116 // if ($(this).hasClass('side-open')) { 117 // $(this).delay(300).queue(function() { 118 // $(this).removeClass('side-open').dequeue(); 119 // $('#header .header_tel').removeClass('side-open').dequeue(); 120 // }); 121 // } else { 122 // $(this).addClass('side-open'); 123 // $('#header .header_tel').addClass('side-open'); 124 // } 125 // }); 126 $(document).on('click', '#mobile', function() { 127 if ($(this).hasClass('side-open')) { 128 $(this).delay(300).queue(function() { 129 $(this).removeClass('side-open').dequeue(); 130 $('#header .header_tel').removeClass('side-open').dequeue(); 131 }); 132 } else { 133 $(this).addClass('side-open'); 134 $('#header .header_tel').addClass('side-open'); 135 } 136 }); 137 // 2020.07.31 change end 138 139 $('#sidr .close').on('click', function() { 140 if ($('#mobile').hasClass('side-open')) { 141 $('#mobile').delay(300).queue(function() { 142 $('#mobile').removeClass('side-open').dequeue(); 143 $('#header .header_tel').removeClass('side-open').dequeue(); 144 }); 145 } 146 }); 147 148 $('#sidr .menu_box h2').on('click', function() { 149 $(this).toggleClass('active').next().slideToggle(400); 150 }); 151 $('#sidr ul#menu-main_menu > li').each(function(index, element){ 152 if ($(this).find('.sub-menu').length > 0) { 153 $(this).children('a').after('<div class="accordion-elm">â¼</div>'); 154 } 155 }); 156 $('#sidr ul#menu-main_menu > li .accordion-elm').on('click', function() { 157 $(this).toggleClass('active').next().slideToggle(400); 158 }); 159 160//ã¾ã¨ãã¦functionããã¾ã§ 161}); 162 163//2019.09.03 add start 164//-------------------------------------------- 165// main articleå ã«ã<p><a href="hogehoge.com"></p>ãã®å½¢å¼ããã£ãã 166// <a>ã«èªåçã« class="css_btn_class" ã追å 167//-------------------------------------------- 168$(function(){ 169 //æ£è¦è¡¨ç¾ãæå®
170 //2021.03.01 change 1ï½2æåã§ãclassãæå®ã§ããããã«å¤æ´ 171 //var match_str = new RegExp('^<a (.*)href=(.*)>([^<].+[^>])</a>$', 'gm'); 172 var match_str = new RegExp('^<a (.*)href=(.*)>([^<]*[^>])</a>$', 'gm'); 173 var match_str_except = new RegExp('</a>[^.*]<a(.*)', 'gm'); 174 //pã¿ã°ã®ä¸ãããæ£è¦è¡¨ç¾ã§ä¸è´ããå¯¾è±¡ãæ¤ç´¢ 175 $('#main article p').each(function(index, element){ 176 if($(element).html().match(match_str)){ 177 //<a>ãé£ç¶ãã¦ããå ´åã«ãéã«ä»ã®æç« ããªããã°ãã¿ã³ã«ãã 178 if(!$(element).html().match(match_str_except)){ 179 //ãclass=css_btn_classããä»ä¸ 180 $(element).children('a').addClass('css_btn_class'); 181 } 182 } 183 }); 184}); 185//2019.09.03 add end 186 187//detailsãIEã«å¯¾å¿ããã 188window.onload = function(){ã 189void (function (root, factory) { 190 if (typeof define === 'function' && define.amd) define(factory) 191 else if (typeof exports === 'object') module.exports = factory() 192 else factory() 193}(this, function () { 194 var DETAILS = 'details' 195 var SUMMARY = 'summary' 196 197 var supported = checkSupport() 198 if (supported) return 199 200 // Add a classname 201 document.documentElement.className += ' no-details' 202 203 window.addEventListener('click', clickHandler) 204 205 injectStyle('details-polyfill-style', 206 'html.no-details ' + DETAILS + ':not([open]) > :not(' + SUMMARY + ') { display: none; }\n' + 207 'html.no-details ' + DETAILS + ' > ' + SUMMARY + ':before { content: "\u25b6"; display: inline-block; font-size: .8em; width: 1.5em; }\n' + 208 'html.no-details ' + DETAILS + '[open] > ' + SUMMARY + ':before { content: "\u25bc"; }') 209 210 /* 211 * Click handler for `<summary>` tags 212 */ 213 214 function clickHandler (e) { 215 if (e.target.nodeName.toLowerCase() === 'summary') { 216 var details = e.target.parentNode 217 if (!details) return 218 219 if (details.getAttribute('open')) { 220 details.open = false 221 details.removeAttribute('open') 222 } else { 223 details.open = true 224 details.setAttribute('open', 'open') 225 } 226 } 227 } 228 229 /* 230 * Checks for support for `<details>` 231 */ 232 233 function checkSupport () { 234 var el = document.createElement(DETAILS) 235 if (!('open' in el)) return false 236 237 el.innerHTML = '<' + SUMMARY + '>a</' + SUMMARY + '>b' 238 document.body.appendChild(el) 239 240 var diff = el.offsetHeight 241 el.open = true 242 var result = (diff != el.offsetHeight) 243 244 document.body.removeChild(el) 245 return result 246 } 247 248 /* 249 * Injects styles (idempotent) 250 */ 251 252 function injectStyle (id, style) { 253 if (document.getElementById(id)) return 254 255 var el = document.createElement('style') 256 el.id = id 257 el.innerHTML = style 258 259 document.getElementsByTagName('head')[0].appendChild(el) 260 } 261}))}; // eslint-disable-line semi 262 263$(function(){ 264 $('.header_address').each(function(){ 265 var txt = $(this).html(); 266 $(this).html(txt.replace(/\]/g,'')); 267 }); 268}); 269 270$(function(){ 271 $('.header_address').each(function(){ 272 var txt = $(this).html(); 273 $(this).html(txt.replace(/\[/g,'')); 274 }); 275}); 276 277$(function(){ 278 $('.info_date').each(function(){ 279 var txt = $(this).html(); 280 $(this).html(txt.replace(/\]/g,'')); 281 }); 282}); 283 284$(function(){ 285 $('.info_date').each(function(){ 286 var txt = $(this).html(); 287 $(this).html(txt.replace(/\[/g,'')); 288 }); 289}); 290 291$(function(){ 292 $('.footer_clinictraffic').each(function(){ 293 var txt = $(this).html(); 294 $(this).html(txt.replace(/\[/g,'')); 295 }); 296}); 297 298$(function(){ 299 $('.info_date').each(function(){ 300 var txt = $(this).html(); 301 $(this).html(txt.replace(/\æ´æ°/g,'')); 302 }); 303}); 304 305$(function(){ 306 $('.mapSec_tomappage').each(function(){ 307 var txt = $(this).html(); 308 $(this).html(txt.replace(/\ 大ããå°å³ã¯ãã¡ã/g,' 大ããå°å³')); 309 }); 310}); 311 312$(function(){ 313 $('.footer_clinictraffic').each(function(){ 314 var txt = $(this).html(); 315 $(this).html(txt.replace(/\[/g,'')); 316 }); 317}); 318 319$(function(){ 320 $('.footer_clinictraffic').each(function(){ 321 var txt = $(this).html(); 322 $(this).html(txt.replace(/\]/g,'')); 323 }); 324});
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.