2015年6月2日星期二

生成firefox user.js的简单shell脚本

命令:
printf "user_pref(\"%s\",%s);\n" ` cat filename`
你可以新建一个文本将要修改的项目和参数以下列格式写下来:

a true b false c 100 d 0
然后保存,之后在shell下运行上面的命令,将filename改成文本名。

没有评论:

发表评论