Skip to content

Commit

Permalink
更新0.0.17增加快捷键
Browse files Browse the repository at this point in the history
  • Loading branch information
redleafnew committed Jun 4, 2022
1 parent 257c414 commit dfb077d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion chrome/content/overlay.xul
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
<overlay id="delitem" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

<script type="application/x-javascript" src="chrome://delitem/content/scripts/delitem.js" />

<keyset>
<key id="key-delitem-del-item" modifiers="alt" key="I" oncommand="Zotero.DelItem.DelItem()"/> <!-- 删除条目和附件 快捷键 Alt + I-->
<key id="key-delitem-del-att" modifiers="alt" key="A" oncommand="Zotero.DelItem.DelAtt()"/> <!--仅删除附件快捷键 Alt + A-->
<key id="key-delitem-del-snap" modifiers="alt" key="S" oncommand="Zotero.DelItem.DelSnap()"/> <!--仅删除快照快捷键 Alt + S-->
<key id="key-delitem-del-note" modifiers="alt" key="N" oncommand="Zotero.DelItem.DelNote()"/> <!--仅删除笔记快捷键 Alt + N-->
<key id="key-delitem-del-extra" modifiers="alt" key="E" oncommand="Zotero.DelItem.DelExtra()"/> <!--仅删除摘要快捷键 Alt + E-->
<key id="key-delitem-del-abstract" modifiers="alt" key="Z" oncommand="Zotero.DelItem.DelAbstract()"/> <!--仅删除摘要快捷键 Alt + Z-->
</keyset>

<menupopup id="zotero-collectionmenu">
<menuseparator id="id-delcoll-separator" />
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
RDF:about="urn:mozilla:install-manifest"
em:id="[email protected]"
em:name="Del Item With Att"
em:version="0.0.16"
em:version="0.0.17"
em:type="2"
em:creator="Minyi Han"
em:description="Delete Item(s) With Attachment(s)"
Expand Down
6 changes: 3 additions & 3 deletions update.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<rdf:Seq>
<rdf:li>
<rdf:Description>
<em:version>0.0.16</em:version>
<em:version>0.0.17</em:version>
<em:targetApplication>
<rdf:Description>
<em:id>[email protected]</em:id>
<em:minVersion>5.0.0</em:minVersion>
<em:maxVersion>6.*</em:maxVersion>
<em:updateLink>https://github.com/redleafnew/delitemwithatt/releases/download/0.0.16/delitemwithatt.xpi</em:updateLink>
<em:updateLink>https://github.com/redleafnew/delitemwithatt/releases/download/0.0.17/delitemwithatt.xpi</em:updateLink>
</rdf:Description>
</em:targetApplication>

Expand All @@ -21,7 +21,7 @@
<em:id>[email protected]</em:id>
<em:minVersion>4.999</em:minVersion>
<em:maxVersion>6.*</em:maxVersion>
<em:updateLink>https://github.com/redleafnew/delitemwithatt/releases/download/0.0.16/delitemwithatt.xpi</em:updateLink>
<em:updateLink>https://github.com/redleafnew/delitemwithatt/releases/download/0.0.17/delitemwithatt.xpi</em:updateLink>
</rdf:Description>
</em:targetApplication>

Expand Down

0 comments on commit dfb077d

Please sign in to comment.