Jump to content

Google widget to search through a website rather than google


 Share

Recommended Posts

I have a small google widget I created from scratch that you can input text and hit "search!" to bring up Google's search results or hit "URL" to go directly to the inputed URL address. Now I what I want to do is search through a different website but same results (use a proxy to go to the URL) I have the site I want to use I just don't know how to exactly make it work in my script. Basically you go to the proxy site and it gives you a blank bar that you can type a website URL in and it will take you there with no questions asked. However the URL AFTER you search through the proxy changes quite dramatically, it sort of encrypts it.

For example my desired URL is:

http://www.globalagendagame.com/

But the new URL after using the proxy search is:

http://unblock.errors-msg.net/browse.php?u=3af3ec3045ce6eOi8vd3d3Lmdsb2JhbGFnZW5kYWdhbWUuY29tLw%3D%3D&b=5&f=norefer

How can I make my script take the input value of the widget and do searches using this proxy?

Ay advice will be appreciated and hope to hear some!

P.S. I don't know much about proxies and how they work, so if this is something I should know in order to build this let me know please.

Link to comment
Share on other sites

Hmmm, your right! Thank you so much. I will put this into my widget!!! Thank you again.

EDIT: The URL was easy enough, but now I am stuck on the actually search part, this time I can't just throw the search URL after the proxy site.

Example of normal search:

http://www.google.com/search?source=ig&hl=en&rlz=1R2SKPB_enUS362&q=global+agenda&aq=0sx&oq=globalagenda&aqi=g-sx10

Example of proxy search:

http://unblock.errors-msg.net/browse.php?u=3af3ec3045ce6eOi8vd3d3Lmdvb2dsZS5jb20vc2VhcmNoP3NvdXJjZT1pZyZobD1lbiZybHo9MVIyU0tQQl9lblVTMzYyJnE9Z2xvYmFsK2FnZW5kYSZhcT0wc3gmb3E9Z2xvYmFsYWdlbmRhJmFxaT1nLXN4MTA%3D&b=5&f=norefer

Edited by kjpolker
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...