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

javascript:addEngine('Packetnews','png','Computer','0')

Options
  • 13-11-2005 8:57pm
    #1
    Closed Accounts Posts: 68 ✭✭


    I'm trying to create a link that will directly add a search engine to the Firefox search box. The search engine has already been created and can be found here by clicking on the 'Packetnews' link beside the green arrow.

    xdccfig1.JPG

    As you can see the link itself has also already been created. What I want to do is replicate the link for use elsewhere. I first tried to copy the link location but all i get from that is:

    javascript:addEngine('Packetnews','png','Computer','0')

    I've also tried:

    javascript:window.sidebar.addSearchEngine("http://mycroft.mozdev.org/nowrapper/submit-install.php/v/0/Packetnews.src",
    "http://mycroft.mozdev.org/nowrapper/submit-install.php/i/0/Packetnews.png",
    "Packetnews", "Computer);

    but that doesn't work because .src returns a blank doc and probably checks referers.

    Failing that i tried:

    <a href="http://mycroft.mozdev.org/plugins/Packetnews.src">Click here</a>

    but that only brings up a dialogue box offering to open or save the .src file.

    firefoxquery.JPG

    This is not what I'm after as it will not install the plugin just like it would if the user clicked on the original link that I'm trying to replicate. I need it to look like this:

    firefoxquery2.JPG

    I'm lost here and would be grateful for any input.


Advertisement