{"id":21833607,"url":"https://github.com/yhmtsai/keepzotero","last_synced_at":"2025-04-14T07:51:52.917Z","repository":{"id":94837126,"uuid":"472510970","full_name":"yhmtsai/KeepZotero","owner":"yhmtsai","description":"KeepZotero is a zotero plugin to keep zotero in taskbar by changing close to minimize","archived":false,"fork":false,"pushed_at":"2025-04-13T22:26:10.000Z","size":2417,"stargazers_count":69,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T23:31:40.539Z","etag":null,"topics":["plugin","zotero","zotero-addon","zotero-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yhmtsai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-21T21:01:25.000Z","updated_at":"2025-04-13T22:22:33.000Z","dependencies_parsed_at":"2023-03-22T20:47:31.580Z","dependency_job_id":null,"html_url":"https://github.com/yhmtsai/KeepZotero","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhmtsai%2FKeepZotero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhmtsai%2FKeepZotero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhmtsai%2FKeepZotero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhmtsai%2FKeepZotero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yhmtsai","download_url":"https://codeload.github.com/yhmtsai/KeepZotero/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844074,"owners_count":21170486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plugin","zotero","zotero-addon","zotero-plugin"],"created_at":"2024-11-27T19:32:21.763Z","updated_at":"2025-04-14T07:51:52.908Z","avatar_url":"https://github.com/yhmtsai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KeepZotero (Zotero 7)\nKeepZotero is a zotero plugin to keep zotero in taskbar by remapping the key or changing the button behavior to minimize or give a confirmation dialog before close.  \nThe master branch and version 0.1.0 starts to support Zotero 7.  \nFor the user from Zotero 6. Please check [Changes from Zotero 6 to Zotero 7](#changes-from-zotero-6-to-zotero-7)\n\n# KeepZotero (Zotero 6)\nThe master branch does not keep the implementation for Zotero 6. However, we still keep the `keepzotero-update.rdf` such that Zotero 6 users do not get invalid url message when checking plugin.  \nIf you still want to use KeepZotero in Zotero 6, please check [tag v0.0.2](https://github.com/yhmtsai/KeepZotero/tree/v0.0.2) and get the xpi under [release v0.0.2](https://github.com/yhmtsai/KeepZotero/releases/tag/v0.0.2).\n\n# Installation\n1. Download the *.xpi from Release\n2. Start Zotero: Tools -\u003e Add-ons\n3. select \"Install Add-on From File...\" from the wheel on top right corner\n4. choose the xpi file\n\n# Changes from Zotero 6 to Zotero 7\n- This plugin can remap the common exit key (`Ctrl/Command + W`, `Ctrl+ Q`, `Alt + F4`) to just minimize Zotero.\n- This new plugin (v0.2.0) can change the close button behavior to minmize the accident of closing Zotero.\n\n# Usage\nThere are some options to decide KeepZotero's behavior\nWhen Zotero is minimized, close from taskbar terminates Zotero.\n1. (Default: Yes) Change the close button of the title bar to minimize the window.\n2. (Default: Yes) Give a confirmation dialog when closing Zotero. If it is selected, user need to confirm exit to close Zotero. If Alt + F4 still performs `close`, it will not trigger the confirmation dialog. (Unstable, especially MacOS)\n3. (Default: yes) Make shortcut Ctrl/Command + W to be minimization\nNote. this shortcut still works on pdf reader or other place out of the main panel.\nThe followings only have effect on Windows or Linux:\n4. (Default: yes) Make shortcut Alt + F4 to be minimization\n5. (Default: yes) Make shortcut Ctrl + Q to be minimization Note. MacOS Command + Q always closes entire Zotero.\n\n# Different keyboard layout\nIf the current shortcut is not your usual shortcut (not the personal shortcut) to close the panel, please create an issue with the shortcut.\n\n# Acknowledgment\n- Thanks to [Thunderbird keepintaskbar](https://github.com/martinzilak/keepintaskbar). It gives me the direction.\n- Thanks to [make-it-red](https://github.com/zotero/make-it-red) such that I can follow its structure and build this plugin for Zotero 7\n\n# My Limitation and Questions\nAlthough I have some coding experience with different language, I do not learn JavaScript or Chrome Extension(?). Thus, the code may do some stupid things... When developing this plugin, I do not find the proper documentation to explain my questions, which I write them in the code. I will appreciate if someone notice any issue inside the code or have some answer to my questions.\n- I do not find a way to detect the close event, which I used in KeepZotero for Zotero 6 does not work in Zotero 7. Currently, I add a event to the close button of title bar to change the behavior. It only changes the close button, so close functionality from the taskbar is not changed. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhmtsai%2Fkeepzotero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyhmtsai%2Fkeepzotero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhmtsai%2Fkeepzotero/lists"}