https @Google 検索
すでにグーグルの1ページ目に表示される検索結果の90%がHTTPSだ。
https://webtan.impress.co.jp/e/2018/09/07/30363
煽り過ぎ :-/
- google.com で検索
- 1ページあたり 100件
検索語 | http | https |
---|---|---|
javascript fetch | 14 | 85 |
たまごっち | 53 | 46 |
親子丼 | 31 | 67 |
桜 散歩 | 37 | 61 |
星セントルイス | 40 | 60 |
共通テスト 2018年 | 45 | 54 |
マッハバロン | 50 | 50 |
静脈瘤 名医 | 58 | 41 |
※合計が 100 になってないのがあるのは、「動画」とか「画像検索結果」のようなブロックも一件と数えているからみたい
カウントする scriptlet 。
(_ => { console.log(Array.from(document.querySelectorAll("h3.r > a")).reduce((o, a) => { if (/^https:/.test(a.href)) { o.https += 1; } else if (/^http:/.test(a.href)) { o.http += 1; } else { o.else += 1; } return o; }, {http: 0, https: 0, "else": 0}).toSource()); })();