(function(w) { var sent = 0; function _send(data) { if (!sent && navigator.sendBeacon) { navigator.sendBeacon('https://blog.hatena.ne.jp/api/security/report', JSON.stringify(data)); sent = 1; mo.disconnect(); } } function c(e) { var s = getComputedStyle(e); var r = e.getBoundingClientRect(); if (s.position === 'fixed' && r.width*r.height > w.innerWidth*w.innerHeight*0.9) { _send({ id: 'fixed', ref: location.href }); } } var mo = new MutationObserver(function(ms) { ms.forEach(function(m) { if (m.type === 'attributes') { return setTimeout(function() { c(m.target); }, 0); } m.addedNodes.forEach(function(n) { if (n.nodeType !== 1) return; var walker = document.createTreeWalker(n, NodeFilter.SHOW_ELEMENT, null, false); setTimeout(function() { c(n); }, 0); while (walker.nextNode()) { (function(el) { setTimeout(function() { c(el); }, 0); })(walker.currentNode); } }); }); }); mo.observe(document.documentElement, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class', 'id'], }); })(window);

ノマド主婦のゆっくり生活

海に山に街に 日本を歩く

2019-11-19から1日間の記事一覧

笠りつ子プロの謝罪会見記事は、スポニチアネックスをみるべき

本日の夕食後に、現在勉強中のツイッターをみていたら、笠りつ子プロ謝罪会見記事が出ていました。(勉強中といっても、ツイッターが未だによくわかりません。やはり年齢のせいでしょうか。取説本まで購入しましたが、”フォローする”と はてなブログにある ”…

ここでも熊出没注意!  根室半島 北海道

先月の10月、知床半島までのドライブの時に「熊のお尻を見た」ことを10月18日の記事の最後に1行だけ書きました。 その4ヶ月前の今年6月、根室半島でも熊が目撃されていました。 私は、「ヒグマは道東では、阿寒か知床の山の中に生息している」とばかり思っ…