项目
在 GitHub 查看
antfu/refined-github-notifications
关于
UserScript that enhances the GitHub Notifications
开发工具可以做什么
- Add target="_blank" to all notifications (and remove notification_referrer_id)
- Refresh the page when going back to the tab, so you get the latest notifications
- Remove bot avatars
- Colorize the notification type (mention, review request, etc.)
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Userscript: Refined GitHub Notifications
Enhances the GitHub Notifications page, making it more productive and less noisy.
Introduction
Check Anthony's Talk or the Transcripts to learn more about the philosophy and motivations behind this userscript.
Features
Note: It's pretty opinionated. I'd encourage you to fork and customize it to your own needs.
- Add
target="_blank"to all notifications (and removenotification_referrer_id) - Refresh the page when going back to the tab, so you get the latest notifications
- Remove bot avatars
- Colorize the notification type (mention, review request, etc.)
- Auto mark notifications as done (remove it from the list), if:
- The issue/PR is closed/merged, and you have not participated at all
- The issue/PR is closed/merged, and you already read it
- PRs created by Renovate, if not participating
- New commits pushed to PRs
- *Notifications you have bookmarked will be bypassed
- Make sure only one notification tab is opened
- When going to the issue from the notification, inject a floating button to mark it as done and close the tab.
Alt/Option + Xto mark a notification as done and close it- Preview issue body when hovering over the title
GitHub Token
When using "Detail Preview" feature, GitHub token would be better to provide to avoid rate limit. You can set the token by running the following command in the console of any page on GitHub:
localStorage.setItem('github_token', 'your token')
Sponsors
License
MIT License © 2023 Anthony Fu
探索相关项目
加载中…