Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Firefox search plugin query

Options
  • 02-09-2005 5:43pm
    #1
    Registered Users Posts: 7,468 ✭✭✭


    Hello,

    One for you firefox hackers. Can you use variables in search plugins? I'm making yet another search plugin for myself. Allow me to illustrate:

    I have a site say, someurl.com, which has daily updates (a blog). I'd like my search plugin to work off whatever the current URL is.

    So if I'm at http://www.someurl.com/blog_A/, then the plugin will work on the search form on that page, next I go to http://www.someurl.com/blog_B/ and the plugin uses the search form on that page.

    So I need something like
    <SEARCH
       version = "7.1" 
       name="blog search"
       description="Search this blog"
       method="get"
       action=[COLOR=RoyalBlue]*variable_name*[/COLOR]
       queryCharset="ISO-8859-1"
    >
    

    And be able to populate *variable_name*. Any idea's?
    Alternativley is there a directive that specifies the current URL?

    They're dummy urls btw


Comments

Advertisement