function render_widget2(id) { var widgetArea = document.getElementById(id); widgetArea.innerHTML = `
万右ェ門ダム (大熊町)の天気予報
詳しくみる
今日
時間 13 14 15 16 17 18 19 20 21 22 23
天気
気温 24 24 24 24 23 23 22 22 22 22 21
7日間天気予報 14日間先までの天気予報を見る
14(火)
15(水)
16(木)
17(金)
18(土)
19(日)
20(月)
`; 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) }) }); })()