全文はソースで 最終更新:4/2(木) 19:00
https://news.yahoo.co.jp/articles/3fd482d6bbb0b2499522356e0f913c38e2d1e495

節電要請、計画停電などもあるのだろうか。
ある程度備えておかないといけないな。
document.addEventListener(‘DOMContentLoaded’, function() { var widgets = document.querySelectorAll(‘.ad-widget-unit’); var fallbacks = document.querySelectorAll(‘.ad-fallback-unit’); setTimeout(function() { widgets.forEach((widget, index) => { var fallback = fallbacks[index]; var isFiltered = ( widget.offsetHeight === 0 || widget.offsetParent === null || window.getComputedStyle(widget).getPropertyValue(‘display’) === ‘none’ ); if (isFiltered) { fallback.style.display = ‘block’; } }); }, 150); });
document.getElementById(‘kznott2frame’).onload = function() {
try {
const contentHeight = this.contentWindow.document.body.scrollHeight;
this.height = contentHeight;
} catch (e) {
console.error(“error”);
}
};
続きを読む
提供元: 稼げるまとめ速報
高市首相 エネルギー不足懸念で節電などの要請「可能性排除せず」