News for hackers. Stuff that matters.
Re:New Chrome extension: block sites from Google’s web searc... by toni on Monday February 14, 2011 @04:21PM (#2218729)
There is a Greasemonkey script[1] which does blacklisting. It works by sending "-site:example.com" with every search query. The script does a lot more cleanups like removing link tracking and ads, so if you don't feel like using all the functions, look in the code and check out "RemoveBadLinks()" function. Maybe you want to comment all other public functions in init().

[1] http://userscripts.org/scripts/show/79742

Re:New Chrome extension: block sites from Google’s web searc... by shadowpwner on Monday February 14, 2011 @07:10PM (#2219366)
Wouldn't that reach a limit pretty soon? I've commented on this before, but there's a max character length for the search box.
Re:New Chrome extension: block sites from Google’s web searc... by toni on Tuesday February 15, 2011 @01:24PM (#2222482)
MaxLenght of the input field is 2048, so you can put lots of domains in it. Of course, it's not a complete solution but it works to some extents, specially because it filters out stuff on server side and not with a css' display:none.