Post Reply 
Filter to block Google Suggest
Sep. 11, 2008, 09:48 PM
Post: #8
RE: Filter to block Google Suggest
ProxRocks;
(Sep. 11, 2008 04:16 PM)ProxRocks Wrote:  ........

the 'g' for Google registry bit, are you talking a URL "alias" where 'g' in the address bar takes you to www dot google dot com or are you talking "g proxo" doing a Google Search for "proxo"?

Technically, the answer is yes to both parts.

Within the Windows Registry, there are several keys for Internet Explorer. It doesn't matter if you use some other browser, these keys come from the original Windows installation. And this goes for every OS since '95, right up to Vista.... trust me on this, I've personally checked. Wink

It's found under various major headings, but the subkey is always called SearchURL. Any subkey under that, the name is the alias that you will type into the address bar. The default value for that subkey is the website's main address, but you can modify that to include the query string that will be suppled to the website in question, and the parameters you add after the name will be appended as your search terms.

Actually, there is an easy method of doing this, something like a wizard or some-such, but I've long since forgotten most of those "user-friendly" ways of doing things. Give me a text editor any time, and I can make Windows sing, dance and clean the kitchen sink! Cheers

Anyways, here's a sample SearchURL:
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\G]
@="http://www.google.com/search?hl=en&lr=lang_en&ie=ISO-8859-1&q=%s"
Note that all I did was look at the address of a Google results page, figure out what they inserted before my search terms, then entered that into the key's default value. The trick lays in the %s, this is what the Registry uses to pick up your search terms from the address bar.

Here's another example, for those that prefer Scroogle:
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\S]
@="http://www.scroogle.org/cgi-bin/nbbw.cgi/search?q=%s"

If I'm looking for a specific image, here's Google to the rescue:
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\pix]
@="http://images.google.com/images?hl=en&lr=&ie=ISO-8859-1&q=%s&sa=N&tab=wi&gbv=1"
In this case, I wrote the query string just like Google, with the %s in the middle, instead of at the end. Works like a charm. Whistling

I use eBay a lot to check the probable price of various items. Rather than go through all the razz-a-matazz:
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\ebay]
@="search.ebay.com/%s"
Nice and simple, eh? Smile!

One more, to show that you can complicate the query string as much as you like:
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchUrl\Tunes]
@="http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=tabs lyrics chords -shopping -eshopping -musicnotes %s"

The address bar is case insensitive, you can title your subkey name in either case, and it will still work. Also, note that in those cases where a character set is called for, as in the Google links, I make sure that ISO-8859-1 is spelled out! Applause


I don't know about other browsers and how they might or might not access those keys, but I should think that any browser built on top of IE would have a decent chance of doing this too.

HTH



Oddysey

I'm no longer in the rat race - the rats won't have me!
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Filter to block Google Suggest - Mele20 - Aug. 28, 2008, 03:15 AM
RE: Filter to block Google Suggest - Kye-U - Aug. 28, 2008, 03:42 AM
RE: Filter to block Google Suggest - Mele20 - Aug. 28, 2008, 07:19 AM
RE: Filter to block Google Suggest - Kye-U - Aug. 28, 2008, 03:44 PM
RE: Filter to block Google Suggest - Mele20 - Aug. 29, 2008, 01:29 AM
RE: Filter to block Google Suggest - Oddysey - Sep. 11, 2008, 03:38 PM
RE: Filter to block Google Suggest - ProxRocks - Sep. 11, 2008, 04:16 PM
RE: Filter to block Google Suggest - Oddysey - Sep. 11, 2008 09:48 PM
RE: Filter to block Google Suggest - ProxRocks - Sep. 12, 2008, 12:05 AM
RE: Filter to block Google Suggest - Oddysey - Sep. 12, 2008, 06:33 AM
RE: Filter to block Google Suggest - ProxRocks - Sep. 12, 2008, 09:08 AM
RE: Filter to block Google Suggest - Oddysey - Sep. 12, 2008, 08:05 PM
RE: Filter to block Google Suggest - ProxRocks - Sep. 12, 2008, 09:57 PM
RE: Filter to block Google Suggest - Oddysey - Sep. 14, 2008, 04:11 AM
RE: Filter to block Google Suggest - ProxRocks - Sep. 14, 2008, 03:49 PM
RE: Filter to block Google Suggest - Toppy - Sep. 17, 2008, 06:26 PM
RE: Filter to block Google Suggest - Mele20 - Oct. 15, 2008, 01:08 PM
RE: Filter to block Google Suggest - Kye-U - Oct. 15, 2008, 01:55 PM
RE: Filter to block Google Suggest - Graycode - Oct. 16, 2008, 04:31 AM
RE: Filter to block Google Suggest - Mele20 - Oct. 20, 2008, 08:21 AM
RE: Filter to block Google Suggest - lnminente - Oct. 24, 2008, 07:29 PM
RE: Filter to block Google Suggest - Mele20 - Aug. 15, 2009, 02:46 PM
RE: Filter to block Google Suggest - lnminente - Aug. 15, 2009, 06:15 PM
RE: Filter to block Google Suggest - Mele20 - Aug. 16, 2009, 07:09 AM

Forum Jump: