【Firefoxアドオン】Google の検索結果から邪魔なサイトをブロックする「Hide Unwanted Results of Google Search」

2015年4月24日

Google で検索していて見る価値のないサイトの一つや二つあるかと思います。

そんな時に便利なアドオンがあります。
それは「Hide Unwanted Results of Google Search」です。

Hide Unwanted Results of Google Search の特徴

Google の検索結果から邪魔なサイトをブロックしてくれます。
入力する URL には正規表現を使用できるので、
ページ単位ではなくて、サイトまるごとブロックすることができます。

v 1.5.2

インストール手順

  1. Firefox を起動します。
  2. アドレスバーに「about:addons」と入力してエンターキーを押します。
  3. アドオンマネージャ画面の右上にあるアドオン検索窓に「Hide Unwanted Results of Google Search」と入力してエンターキーを押します。
  4. 検索結果の一番上に「Hide Unwanted Results of Google Search」が表示されていると思うので、その欄の右端にある「インストール」ボタンをクリックします。
  5. アドオンがダウンロードされて、インストールが完了するのを待ちます。
  6. インストールが完了すると「Hide Unwanted Results of Google Search」欄の背景色が変化します。

Hide Unwanted Results of Google Searchのスクリーンショット。

Hide Unwanted Results of Google Searchのスクリーンショット。

Hide Unwanted Results of Google Searchのスクリーンショット。

Hide Unwanted Results of Google Searchのスクリーンショット。

Hide Unwanted Results of Google Search の使い方

ブロックするサイトの登録方法は2パターンあります。

  • 「Hide Unwanted Results of Google Search」の「設定」画面から登録。
  • Google 検索から普段のように検索し、右クリックから登録。

「設定」画面からの登録手順

Hide Unwanted Results of Google Searchのスクリーンショット。

Hide Unwanted Results of Google Searchのスクリーンショット。

Hide Unwanted Results of Google Searchのスクリーンショット。

  1. アドオンマネージャを開きます。
  2. 「Hide Unwanted Results of Google Search」の「設定」ボタンをクリックします。
  3. 設定画面の「Settings」ボタンをクリックします。
  4. ブロックしたいサイトの URL を入力して、 「Add」ボタンをクリックします。
  5. 「OK」ボタンをクリックします。

入力する URL には正規表現を使用できます。

例:matome.naver.jp 以下の全てをブロックしたい場合

matome.naver.jp/.*

と入力します。
「.」は、改行文字を除いたあらゆる 1 文字を意味します。
「*」は、直前の文字の 0 回以上の繰り返しを意味します。
なので、上記の表記は

matome.naver.jp/aaa.html
matome.naver.jp/bbb.html
matome.naver.jp/hoge/aaa.html
matome.naver.jp/hoge/bbb.html

などなどに対応します。

正規表現の詳細については、下記サイトをご覧ください。
https://developer.mozilla.org/ja/docs/JavaScript/Reference/Global_Objects/RegExp

検索結果からの登録手順

Hide Unwanted Results of Google Searchのスクリーンショット。

Hide Unwanted Results of Google Searchのスクリーンショット。

  1. 普段通りに Google 検索を使用します。
  2. ブロックしたい検索結果のリンクを右クリックします。
  3. 表示されたコンテキストメニューの「Add this site to HIde Results」を選択します。

Hide Unwanted Results of Google Search の動作確認

Hide Unwanted Results of Google Searchのスクリーンショット。

Google 検索から普段のように検索します。
検索結果から表示されなくなっているのを確認します。
ブロックされた件数も同時に表示されます。

※例では、事前に「NAVERまとめ」を登録しています。