├── .gitignore ├── chrome ├── locale │ ├── zh-CN │ │ ├── options.properties │ │ ├── zoteroupdateifs.properties │ │ ├── overlay.dtd │ │ └── options.dtd │ └── en-US │ │ ├── options.properties │ │ ├── zoteroupdateifs.properties │ │ ├── overlay.dtd │ │ └── options.dtd ├── skin │ └── default │ │ └── zoteroupdateifs │ │ ├── minus.png │ │ ├── pen.png │ │ ├── accept.png │ │ ├── greenarrow.png │ │ ├── exclamation.png │ │ └── information.png └── content │ ├── change-publication-title.xul │ ├── title-search-replace.xul │ ├── author-bold-star.xul │ ├── utils.xul │ ├── overlay.xul │ ├── scripts │ ├── options.js │ └── zoteroupdateifs.js │ └── options.xul ├── chrome.manifest ├── release.sh ├── update.rdf ├── install.rdf ├── defaults └── preferences │ └── prefs.js └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .project 2 | *.xpi -------------------------------------------------------------------------------- /chrome/locale/zh-CN/options.properties: -------------------------------------------------------------------------------- 1 | # zotero.item=请先选择你想更改期刊名称的的条目。 -------------------------------------------------------------------------------- /chrome/locale/en-US/options.properties: -------------------------------------------------------------------------------- 1 | # zotero.item=Please select the item(s) you want to change the publication title. -------------------------------------------------------------------------------- /chrome/skin/default/zoteroupdateifs/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redleafnew/zotero-updateifs/HEAD/chrome/skin/default/zoteroupdateifs/minus.png -------------------------------------------------------------------------------- /chrome/skin/default/zoteroupdateifs/pen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redleafnew/zotero-updateifs/HEAD/chrome/skin/default/zoteroupdateifs/pen.png -------------------------------------------------------------------------------- /chrome/skin/default/zoteroupdateifs/accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redleafnew/zotero-updateifs/HEAD/chrome/skin/default/zoteroupdateifs/accept.png -------------------------------------------------------------------------------- /chrome/skin/default/zoteroupdateifs/greenarrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redleafnew/zotero-updateifs/HEAD/chrome/skin/default/zoteroupdateifs/greenarrow.png -------------------------------------------------------------------------------- /chrome/skin/default/zoteroupdateifs/exclamation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redleafnew/zotero-updateifs/HEAD/chrome/skin/default/zoteroupdateifs/exclamation.png -------------------------------------------------------------------------------- /chrome/skin/default/zoteroupdateifs/information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/redleafnew/zotero-updateifs/HEAD/chrome/skin/default/zoteroupdateifs/information.png -------------------------------------------------------------------------------- /chrome.manifest: -------------------------------------------------------------------------------- 1 | content zoteroupdateifs chrome/content/ 2 | 3 | skin zoteroupdateifs default chrome/skin/default/zoteroupdateifs/ 4 | overlay chrome://zotero/content/zoteroPane.xul chrome://zoteroupdateifs/content/overlay.xul 5 | 6 | locale zoteroupdateifs en-US chrome/locale/en-US/ 7 | locale zoteroupdateifs zh-CN chrome/locale/zh-CN/ 8 | 9 | -------------------------------------------------------------------------------- /chrome/locale/zh-CN/zoteroupdateifs.properties: -------------------------------------------------------------------------------- 1 | author.changed.sig=位作者更新完成。 2 | author.changed.mul=位作者更新完成。 3 | author.empty=请在上面文本框中输入作者姓名。 4 | author.no.space=输入的姓名中必须含有空格。 5 | all.upcase=文献题目为全部大写,有些专有名词需要首字母或整个单词全部大写,修改可能不正确,请检查。 6 | bold.or.star=请在设置-作者处理设置勾选加粗和(或)加星。 7 | clean.extra.sig=您确定将所选条目的其它内容清除? 8 | clean.extra.mul=您确定将所选条目的其它内容清除? 9 | clean.failed=请选择要清楚其它内容的条目。 10 | clean.finished=成功清除其它字段内容。 11 | clean.ifs.finished=成功清除字段内容。 12 | clean.ifs.fields.sig=您确定将所选条目的摘要和影响因子字段内容清除? 13 | clean.ifs.fields.mul=您确定将所选条目的摘要和影响因子字段内容清除? 14 | failed=失败: 15 | find.replace.same=查找与替换内容相同,请查实。 16 | finished=完成: 17 | ifc=影响因子: 18 | if5=5年平均影响因子: 19 | infomation=Infomation: 20 | item.changed.mul=个条目作者更新完成。 21 | item.changed.sig=个条目作者更新完成。 22 | no.change=作者姓名没有变化。 23 | pub.title.empty=原期刊题目或新期刊题目是空的, 请输入。 24 | show.data.dir=当前的数据目录是: 25 | show.profile.dir=当前的配置目录是: 26 | success.pub.title.mul=个期刊信息成功更新, 但期刊名称中某些词需要特殊大小写, 如LWT, CyTA。请核实修改是否正确。 27 | success.pub.title.sig=个期刊信息成功更新, 但期刊名称中某些词需要特殊大小写, 如LWT, CyTA。请核实修改是否正确。 28 | success.sig= 个期刊信息成功更新。 29 | success.mul= 个期刊信息成功更新。 30 | success.item.title.replace.sig=个文献题目更新成功更新。 31 | success.item.title.replace.mul=个文献题目更新成功更新。 32 | title.case=题目改为句首大写, 请检查。 33 | title.empty=查找或替换文本框为空, 请输入。 34 | zotero.item=请先选择你想更改的条目。 35 | 36 | -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 文件来源于https://github.com/UB-Mannheim/zotero-ocr/blob/master/release.sh 4 | # 和https://github.com/UB-Mannheim/zotero-ocr/blob/master/build.sh 5 | read -p "Enter new version number: " version 6 | 7 | 8 | ############## 9 | ## Update install.rdf 10 | ############## 11 | 12 | perl -pi -e "s/em:version=\"[^\"]*/em:version=\"$version/;" "install.rdf" 13 | # rm "install.rdf.bak" 14 | # git add "install.rdf" 15 | 16 | 17 | ############## 18 | ## Update update.rdf 19 | ############## 20 | 21 | perl -pi -e "s/[^<]*/$version/;" \ 22 | -e "s/[^<]*/https:\/\/github.com\/redleafnew\/zotero-updateifs\/releases\/download\/$version\/zotero-updateifs.xpi/;" \ 23 | -e "s/[^<]*/https:\/\/github.com\/redleafnew\/zotero-updateifs\/releases\/tag\/$version/;" \ 24 | update.rdf 25 | # git add "update.rdf" 26 | # rm "update.rdf.bak" 27 | 28 | # git commit -m "Release $version" 1>&2 29 | 30 | ############## 31 | ## 生成xpi 32 | ############## 33 | #./build.sh "$version" 34 | 35 | #version="$1" 36 | #if [ -z "$version" ]; then 37 | # read -p "Enter new version number: " version 38 | #fi 39 | 40 | rm -f zotero-updateifs.xpi 41 | zip -r zotero-updateifs.xpi chrome/* defaults/* chrome.manifest install.rdf 42 | 43 | -------------------------------------------------------------------------------- /update.rdf: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 0.95.6 10 | 11 | 12 | zotero@chnm.gmu.edu 13 | 5.0.0 14 | 6.* 15 | https://github.com/redleafnew/zotero-updateifs/releases/download/0.95.6/zotero-updateifs.xpi 16 | 17 | 18 | 19 | 20 | 21 | juris-m@juris-m.github.io 22 | 4.999 23 | 6.* 24 | https://github.com/redleafnew/zotero-updateifs/releases/download/0.95.6/zotero-updateifs.xpi 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /chrome/locale/zh-CN/overlay.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /install.rdf: -------------------------------------------------------------------------------- 1 | 2 | 6 | 16 | 2 17 | 18 | 19 | 20 | zotero@chnm.gmu.edu 21 | 3.0b1 22 | 6.*.* 23 | 24 | 25 | 26 | 27 | {ec8030f7-c20a-464f-9b0e-13a3a9e97384} 28 | 4.0 29 | 45.* 30 | 31 | 32 | 33 | 34 | juris-m@juris-m.github.io 35 | 4.* 36 | 45.* 37 | 38 | 39 | 40 | 41 | zh-CN 42 | Zotero更新影响因子 43 | Minyi Han 44 | 从http://sci.justscience.cn/更新期刊影响因子 45 | https://github.com/redleafnew/zotero-updateifs 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /chrome/content/change-publication-title.xul: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | &change-pub-title-desc; 18 | 19 | 20 | 21 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |