del.icio.us complete 修改版
del.icio.us 迁到了新域名 delicious.com,扩展 del.icio.us complete 不能用了,所以修改了一下让它可以继续服务。
#cd 到 delicious.jar 所在目录
cd the_path_to_delicious.jar
解压
jar xvf delicious.jar
cd content/delicious
for file in *;do if [ -f "$file" ];then sed -e ‘s/http:\/\/del\.icio\.us/http:\/\/delicious\.com/g’ -e ‘s/"\/\\"" + tag + ‘\”\\"’\”/"\/" + tag/g’ $file > ${file}.bak && mv ${file}.bak $file;fi;done
cd keyconfig
!for
cd ../../..
#重新压缩
jar cvf delicious.jar content/ license.txt locale/ skin/
rm -rf content license.txt locale skin
当然,你也可以直接下载我修改过的 xpi 文件。
This entry was posted on Saturday, August 2nd, 2008 at 9:25 pm and is filed under firefox. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


