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 version 1.6.0, this version 1.6.2 fixes bugs on DuckDuckGo. Before switching, 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.
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.
After installation, a "block" button should appear next to the title of each result. Screen shot #1:
Click the block button to block results from that site. A small dialog will appear. Screen shot #2:
. | 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:
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:
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.
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:
The management pane has a wide and growing variety of functions. You probably won't need most of them, but just in case:
Screen shot #7 (notices displayed):
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):
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:
The Options tab of the management pane lets you edit some of the script's behaviors and buttons. Screen shots #10, #11, and #12:
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:
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.
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).