I mentioned that I'd like to be able to search Google and not have a full page of aggregation sites like nextag and pricegrabber show up. These are annoying. Well, I got exactly what I wanted.
Thanks to a tip from Peter Leugner, I got what I wanted. Create a text file ending in .src with the content below, and stick it in your Firefox "sourceplugins" folder to exclude some domains from all search results when you use that search plug in.
I called mine "google Special" so the file is "c:\program files\mozilla firefox\searchplugins\googleSpecial.src". I also put an icon of the same name. A PNG file called "c:\program files\mozilla firefox\searchplugins\googleSpecial.png" which has the same format as any website 'favicon.ico' file.
Once you do that, restart Firefox and you got it.
C:\Program Files\Mozilla Firefox\searchPlugins\googleSpecial.src |
# Mozilla/Google plug-in by amitp+mozilla@google.com # Sample modification by andrewp@thenorth.com to exclude # a few domains. A cool add-on feature would be a drag/drop # plug in or right click plug-in to select any link on a page # and have its domain added to this list. I'll have to look into that. <search name="NCT Special Google" description="Google Search" method="GET" action="http://www.google.com/search" # ************************************************************** # ***** Andrew's Modifications to the source are here ********** # ************************************************************** # comment out these lines! # update="http://www.google.com/mozilla/google.src" # updateCheckDays=1 # ************************************************************** # **** End of Andrew's Modifications *************************** # ************************************************************** queryEncoding="utf-8" queryCharset="utf-8" > <input name="q" user> # ************************************************************** # ***** Andrew's Modifications to the source are here ********** # ************************************************************** <input name="q" value="+-site:nextag.com"> <input name="q" value="+-site:bidwatch.com"> <input name="q" value="+-site:pricegrabber.com"> <input name="q" value="+-site:shopper.cnet.com"> <input name="q" value="+-site:pricespy.co.nz"> <input name="q" value="+-site:mysimon.com"> <input name="q" value="+-site:dealtime.com"> <input name="q" value="+-site:bizrate.com"> # ************************************************************** # **** End of Andrew's Modifications *************************** # ************************************************************** <inputnext name="start" factor="10"> <inputprev name="start" factor="10"> <input name="ie" value="utf-8"> <input name="oe" value="utf-8"> <interpret browserResultType="result" charset = "UTF-8" resultListStart="<!--a-->" resultListEnd="<!--z-->" resultItemStart="<!--m-->" resultItemEnd="<!--n-->" > </search> |
Comment Entry |
Please wait while your document is saved.