function render_widget2(id) { var widgetArea = document.getElementById(id); widgetArea.innerHTML = `
堀越郵便局 (阿賀野市)の天気予報
詳しくみる
今日
時間 12 13 14 15 16 17 18 19 20 21 22
天気
気温 26 26 26 26 25 25 24 23 22 22 21
7日間天気予報 14日間先までの天気予報を見る
2(木)
3(金)
4(土)
5(日)
6(月)
7(火)
8(水)
`; 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) }) }); })()