Results 1 to 4 of 4

Thread: How can i create Firefox search plugin

  1. #1
    Join Date
    May 2009
    Posts
    223

    How can i create Firefox search plugin

    When i need to search my own blog with Firefox web browser i need to do this in this way, site:abc.. I heard somewhere that we can make our own search plugin for Firefox so that i can search my site direct from the search bar. This is something that would be great on the site I'm working on, Do you guys have any idea how can i create Firefox search plugin ? Please let me know too.

  2. #2
    Join Date
    May 2009
    Posts
    1,611

    Re: How can i create Firefox search plugin

    A search plugin allows you to access a search engine right from your browser. There is a simple Firefox trick that allows you to search any blog straight from the Firefox search bar without having to visit the actual blog. To create your own Firefox search Plugin, just go through this steps:-

    Open Windows Explorer and locate to the Firefox search plugins directory. You can find it at
    C:\Program Files\Mozilla Firefox\searchplugins
    Now copy pate this code in a notepad and save it with an src extension in the same directory :

    <search
    name="Techarena"
    method="GET"
    action="http://www.google.com/search"
    queryCharset="utf-8"
    >

    <input name="q" user>
    <input name="sitesearch" value="forums.techarena.in">
    </search>
    Now restart the Firefox.

    Thats it.. You are done. In addition, if you like to see any icon next to the search name than you need to add a 16x16 gif file with exactly the same name in the same location where you placed the di.src file.

  3. #3
    Join Date
    May 2008
    Posts
    2,792

    Re: How can i create Firefox search plugin

    A search engine plugin allows you to access a search engine directly from your browser. In Mozilla Firefox and Internet Explorer you use the search bar at the top right. Microsoft appears to prefer the term Search Provider but there is no difference in function. There are also tools to add search capability to right click menus and other locations. You can also go to mycroft.org to create Firefox search plugin . They provides a collection of search plugins (over 6000) for browsers using Apple’s Sherlock standard including Mozilla Firefox and Mozilla Suite. The benefit of mycroft is that they host your search plugin, and it is available via their extensive directory for the world to download and use.

  4. #4
    Join Date
    Feb 2009
    Posts
    673

    Re: How can i create Firefox search plugin

    you can also use this code:-

    <script language="javascript">
    function addEngine(name,ext,cat)
    {
    if ((typeof window.sidebar == "object") && (typeof
    window.sidebar.addSearchEngine == "function"))
    {
    window.sidebar.addSearchEngine(
    "<?php echo $mosConfig_live_site; ?>/"+name+".src",
    "<?php echo $mosConfig_live_site; ?>/"+name+"."+ext,
    name,
    cat );
    }
    else
    {
    alert("Netscape 6 or Mozilla is needed to install a search plugin");
    }
    }
    </script>
    To add an icon next to your search engine name create and save a 16×16 png or gif image with the same name as the .src file

Similar Threads

  1. Is it possible to modify the search plugin for Firefox 8?
    By BluFFMast.ER in forum Technology & Internet
    Replies: 2
    Last Post: 04-12-2011, 07:50 PM
  2. Replies: 4
    Last Post: 19-04-2011, 10:55 AM
  3. How to add search forms to the Firefox Search Bar?
    By Coreey in forum Technology & Internet
    Replies: 5
    Last Post: 03-02-2010, 02:26 PM
  4. Replies: 3
    Last Post: 22-08-2009, 11:34 AM
  5. Replies: 2
    Last Post: 09-07-2009, 10:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,047,081.22484 seconds with 16 queries