Greasy Fork is available in English.

Google Hit Hider by Domain (Search Filter / Block Sites)

Block unwanted sites from your Google search results. For Firefox+Greasemonkey or Chrome+Tampermonkey. v1.6.1 2014-05-22

Από την 2014-05-25 23:37:16 UTC. Δείτε την τελευταία έκδοση.

Δημιουργός
Jefferson Scher
Βαθμολογίες
0 0 0
Έκδοση
1.6.1
Δημιουργήθηκε την
Ενημερώθηκε την
Άδεια
BSD with restriction
Εφαρμόζεται σε

Περιγραφή Δημιουργού

Easily Hide Unwanted Domains in Google Results

Want to filter out some useless, spammy or offensive sites from Google search results? Just click "block" to reduce a site's hits to a one-line notation, or hide it completely. No typing required.

IF YOU HAVE AN EARLIER VERSION FROM userscripts.org

If you have version 1.6.0, this version 1.6.1 does not have any new features. Before switching in the future, use the Export feature to make a backup copy of your block list. This script will install alongside the old one, and you will need to disable the old one on the Firefox Add-ons page, User Scripts section, or the Tampermonkey Dashboard. Then you can import your block list to the new script.

Read This First: System Requirements

Firefox users: You need Firefox 14 or later. Install the Greasemonkey extension from Mozilla Add-ons BEFORE installing this userscript.

Google Chrome users: Install the Tampermonkey extension from the Chrome store BEFORE installing this userscript.

Other Browsers: Due to the way this script monitors for dynamic changes in Google's Instant Prediction results, it is unlikely to work on other Greasemonkey-like extensions.

Disclaimer: Google search is a very complex application, so there is no guarantee that this script will work for you. The author is not responsible for you missing a result you might have liked to see, or other malfunction of the script. Use at your own risk.

Click for downloadable/printable PDF version of this page (as of version 1.6.0).

How to Block and Unblock Sites

After installation, a "block" button should appear next to the title of each result. Screen shot #1:

Illustration of block button in search results

Click the block button to block results from that site. A small dialog will appear. Screen shot #2:

Illustration of block dialog

|||
|---|---|
|Illustration of block pane . . | Simply click Block Site to block the site immediately. In most cases, you also have an extra choice: to block the full site domain, and a domain that will match multiple addresses on that domain (e.g., www., download., etc.). Pick whatever you think will work best for you. The +site and -site buttons will alter your current query, but not add the site to the block list. |

After a domain is added to the block list, the results should refresh and display a one line notice about that suppressed hit. Screen shot #4:

Illustration of blocked site notice

If you never want to see notices for this site, instead of clicking Block Site, click Perma-ban in the block dialog. Or just click the notice and the result will redisplay on a shaded background. You then can "Unblock" the site or move it to the "Perma-ban" list of sites you never want to see. Screen shot #5:

Illustration of blocked hit options

One-click blocking. If you find two clicks to be one click too many, you can turn on one-click blocking in the Block dialog or on the Home tab of the Management pane. See One-Click Blocking - How to - FAQ for more information.

Managing Script Options

To remove hit notices, or to stop blocking some sites, you can use the management pane. On the right edge of the page when you are displaying search results, look for and click the Manage Hiding button. (You can hide this button if you like. In that case, click any block button to call up the Management Pane.) Screen shot #6:

Illustration of Manage Hiding button

The management pane has a wide and growing variety of functions. You probably won't need most of them, but just in case:

  • Eliminate the notices if you don't like them. Restore them if you miss them. (Home Tab)
  • Move domains between the regular block list and the Perma-ban list. (Block and Perma-ban Tabs)
  • Remove domains from the lists. (Block and Perma-ban Tabs)
  • Sort and export lists. (Block and Perma-ban Tabs)
  • Change the way domains are added to the lists. (Options Tab)
  • Change the display of various buttons. (Options Tab)
  • Turn off support for Instant Search, AJAX search or AutoPager to improve performance if you have disabled these features. (Options Tab)

Screen shot #7 (notices displayed):

Manage Hiding Pane 1

Clearing (unchecking) the Show notices checkbox removes the suppressed hit notices. The pane stays open while the results are updated so you continue to manage the script. Screen shot #8 (notices hidden):
Manage Hiding Pane no notices

To move domains between lists or to remove them from the lists, click the domain to cycle through your options. When you're ready to complete your edits, click Save Lists to purge the domains marked for deletion. All changes on both lists are saved at the same time, so you might want to click back and forth between the Block and Perma-ban tabs to review your changes before saving. There is NO undo. Screen shot #9:

Manage Hiding Lists

The Options tab of the management pane lets you edit some of the script's behaviors and buttons. Screen shots #10, #11, and #12:
Manage Hiding Pane Options 1 Manage Hiding Pane Options 2

Manage Hiding Pane Options 3 Manage Hiding Pane Options 4

In particular:

  • You can change the way domains are added to the list. By default, they are added at the end. You can add them at the top, or keep the lists sorted alphabetically. Screen shot #13:

Manage Hiding Pane Site order options

  • You can change the default pre-selected domain in the block dialog. If you are an aggressive blocker and want to block as much as possible from a site, you may want to always pre-select the partial domain. Screen shot #14:

Manage Hiding Pane Default blocking option

  • If there are too many buttons for you, you can: remove the Manage Hiding button (call up the management pane by clicking any block button) or remove the block buttons (they will display when you open the management pane). You also can have the block buttons appear only when you mouse over a hit.
  • Turn off full-time monitoring if you have disabled instant/AJAX search and do not use AutoPager.
  • Change the captions on selected buttons.

List Management Utilities

This feature is still under construction, but some of it is ready now.

Click the List Util button to display additional commands for working with your block list. Screen shot #15:

Manage Hiding List Utilities

  • Export displays a copy of your block list in a form you can copy and paste, so you can back it up, copy it to another computer, or send it to a friend. (Can't guarantee it will pass through a spam filter!). Screen shot #16:
    Export screen
  • Import attempts to add domains to your block list. So that you can recover from possible list corruption, please use the Export feature to retrieve your current list so you can back it up in a document. Screen shot #17:
    Import screen
  • Sort alphabetizes your block list. To keep your lists sorted automatically as you add domains, visit the Options tab and adjust the first setting.
  • De-Duplicate removes unnecessary domains from your block list. Probably most useful after an import, especially if you test by importing a copy of your current list.
  • Un-www* removes the www from the beginnings of domains on your block list so they match all subdomains (e.g., www, blog, etc.). After this, you might want to de-duplicate. Note: In the unlikely event that you have blocked www.com (or www.jp, etc.), the Un-www feature will render those listings useless; if you blocked a domain similar to www.com.mx, then using Un-www may result in other com.mx sites being blocked. Hopefully this can be fixed in a future version.

Miscellaneous

This site blocking script was inspired by a request on the discussion forum Eileen's Lounge (see Greasemonkey userscript to hide Google results by domain).

This script now has a specific Privacy Disclosure that supplements the Userscripts.org Privacy Policy.