By pure curiosity I decided (at 2am last night) to look into creating a search plugin for my Google Adsense Search. Well it was a very successfull adventure. It can be created for any site search, even your personal blog.

There are 2 ways of doing it (maybe more) I found .

1 – Create your own search plugin.xml as instructed on the Mozilla Developers site (more work)

or

2 – Go to searchplugins.net and follow these steps.

  • FIll in all the fields but make sure on the Search URL you add the word TEST as the searched item eg: http://www.google.co.uk/search?hl=en&q=TEST
  • Generate plugin and it’s done, you can then install it from the top of the page or the side bar but you might like to make it available on your own site so….
  • copy this code – change 11399 to your plugin id (found on the link for your plugin on searchplugin.net)

<script language=javascript>
function addProvider(url) {
try {
window.external.AddSearchProvider(url);
} catch (e) {
alert(“You need to be using IE7 or Firefox2 to add a search engine!”);
return;
}
}

</script>

<a href=”javascript:addProvider(‘http://www.searchplugins.net/createos.aspx?number=11399’);void(0)”>Install Search Plugin</a>

  • save this as a html file or insert into any existing page and your users will be able to install and use yor search plugin.

One Reply to “Create search plugin for Firefox and IE”

  1. Finally i quit my day job, now i earn a lot of money online
    you should try too, just type in google – bluehand roulette system

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.