Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Create FireFox search plugin for arbitrary web site

by jgamble (Pilgrim)
on Nov 29, 2008 at 21:45 UTC ( #726839=note: print w/replies, xml ) Need Help??

in reply to Create FireFox search plugin for arbitrary web site

This is great.

I wonder if there is some way to automate the output file, instead of having to type the path to the filename explicitly. I believe you can get away with a hardcoded path in Windows, but is it different for Linux?

  • Comment on Re: Create FireFox search plugin for arbitrary web site

Replies are listed 'Best First'.
Re^2: Create FireFox search plugin for arbitrary web site
by ccn (Vicar) on Nov 30, 2008 at 00:28 UTC

    Yes, there is. The best way is to make a personal wrapper for the script:


    #!/bin/sh perl $1 $2 > ~/.mozilla/firefox/YOURPROFILE/searchplugins/$1.x +ml


    REM windows batch file perl %1 %2 > PATH\TO\YOUR\PROFILE\searchplugins\%1.xml

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://726839]
[perldigious]: That's awesome erix. One of my work friends, who coincidentally convinced me to learn Perl originally, has a Finnish pen-pal. I showed him this and he immediately wanted to send it along to her.
[perldigious]: Also coincidentally, I'm currently in the middle of a winter storm that has dropped 1 foot of snow and is expected to drop another. I might have to adapt this for customers/vendors who come visit and put it at the beggining of every presentation I give.
[Discipulus]: the photo was removed... Cyrano de Berjerac was not of the same idea..
[stevieb]: perldigious: video near our hq in Montreal. Here in Calgary, it's -28c... we've only got 3" of snow so far, but there are several feet in the mountains already

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2016-12-06 16:26 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (112 votes). Check out past polls.