function render_widget2(id) { var widgetArea = document.getElementById(id); widgetArea.innerHTML = `
XYZ Private spa and Seaside Resort (白浜町)の天気予報
詳しくみる
今日
時間 13 14 15 16 17 18 19 20 21 22 23
天気
気温 33 33 33 32 31 30 29 28 28 28 28
7日間天気予報 14日間先までの天気予報を見る
30(木)
31(金)
1(土)
2(日)
3(月)
4(火)
5(水)
`; widgetArea.dataset.originId = id; widgetArea.id = id + "_" + Math.random().toString(32).substring(2); } (function(){ function addClass(elName) { document .querySelectorAll(".RPsXVH9eVL_course_container " + elName) .forEach($el => { $el.classList.add("cwidget_" + elName) }) } window.addEventListener('load', (event) => { [ "header", "div", "section", "p", "table", "tr", "td", "th", "tbody", "a", "span", "strong", "img" ].forEach(tag => { addClass(tag) }) }); })()