Hi there,

ist there any way to get Greasemonkey to work under Conkeror? Or
alternatively, can I convert greasemonkey scripts to somehow work under
Conkeror? I just can't live without LookItUp anymore...

By the way, I also made a little shell script to make any xpi-file at
least installable in conkeror (doesn't mean it'll work, of course). I
post it here since maybe it is useful to others. Just call with
`extconvert <xpi-file>' and it will create a new xpi file with
"_conkeror" appended to its name.

Regards,
David

#!/bin/sh
#
# Make xpi file installable in Conkeror.
# Call with extconvert <xpi file>

CURDIR=`pwd`
TEMPDIR=`mktemp -d`
NAME=`basename $1 .xpi`
unzip -d $TEMPDIR $1
cd $TEMPDIR
sed 's#<em:targetApplication>#<em:targetApplication>\
<Description>\
<em:id>{a79fe89b-6662-4ff4-8e88-09950ad4dfde}\
</em:id>\
<em:minVersion>0.1</em:minVersion>\
<em:maxVersion>1.0</em:maxVersion>\
</Description>\
</em:targetApplication>\
<em:targetApplication>#' install.rdf > install.rdf_temp
mv install.rdf_temp install.rdf
zip -r "$NAME"_conkeror.xpi .
cd $CURDIR
cp $TEMPDIR/"$NAME"_conkeror.xpi . 
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to