Gmail Taskbar Unread Badge

Add an unread email count badge to Gmail's PWA icon on supported OS's taskbar's or dock's

什么是Gmail Taskbar Unread Badge?

Gmail Taskbar Unread Badge是由Ocfinity (Jared)开发的Chrome扩展程序,该扩展的主要功能是“Add an unread email count badge to Gmail's PWA icon on supported OS's taskbar's or dock's”。

扩展截图

screenshot
screenshot

下载Gmail Taskbar Unread Badge扩展crx文件

下载Gmail Taskbar Unread Badge扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Note: I have added a new extension that merges the first 2 together, the Gmail and Outlook unread counts all in one extension. Please view my other extensions or you can find it at https://chrome.google.com/webstore/detail/multi-emailapp-taskbardoc/ipeimmibpbandhbpndfdbjpdodcjdbdo

Disclaimer: The developer of this extension in no way claims to be associated with Google/Gmail. I acknowlegde that I do not own their respective trademarks. This extension was developed for personal use and shared for others to use, if they wish to.

This extension adds an unread count badge to the taskbar/dock icon of a PWA* Gmail app. The app supports multiple Gmail PWA accounts. Multiple account badges only work when each PWA is installed using a unique Google Chrome browser profile that is setup with the unique Google Account that you wish to access Gmail emails with.

Please note: this extension does not work, as intended, with multiple Gmail accounts within the same Google Chrome browser profile, if each PWA is installed using the same Chrome Profile, it will show the unread count of each account on the same PWA taskbar icon by cycling through each account dependant on when you opened the PWA account on your device.

(Windows) How to install a PWA in Google Chrome:
1. Navigate to the Gmail URL, i.e. go to your Gmail Inbox.
2. Click on the Google Chrome browser settings button, ⋮ .
3. Click on menu option, "More tools".
4. Click on sub-menu option, "Create shortcut..."
5. Name the shortcut, e.g. GMail.
6. (NB!) Ensure that you check/tick the checkbox labelled, "Open as window".
7. Once the new GMail window opens, remember to pin the PWA to your taskbar to ensure that the extension adds the unread count to the pinned icon on the taskbar.
8. Windows 10 and 11, ensure that the Taskbar setting, "Show badges on taskbar buttons", is toggled on (i.e. enabled) to allow the unread count badge to be shown on the Windows Taskbar.

Once you have successfully made use of the extension, could you please rate it, and if you have any feedback, it will be appreciated too. This will give me an indication on whether or not I should enhance this extension further.

I hope that this small extension helps you in some way, enjoy.

*PWA, Progressive Web Application.

Updates:
2022-01-09 (0.2.3)
- Changed the package name to remove references to Windows 10. As this extension uses JavaScript and runs on many compatible browsers, with different flavours of operating systems, the extension is compatible with many system configurations. However, it has only been tested on Windows 10 and 11 by the developer.

Bug Fixes:
2022-02-10 (0.3.0)
- The previous bug fix broke the extension for many users, apologies for this. This new bug fix changes the approach to make use of GMail's Atom Feed. This should be more reliable for all scenarios.
2022-02-08 (0.2.4)
- When the Inbox had zero unread messages, the badge would display the unread count of the next label available, e.g. the Spam folder if it had unread messages. This fix will ensure that the Inbox label count is only used. (Thank you to Kevin for pointing this one out, this is appreciated.)
2021-10-28 (0.2.2)
- Badge would not be triggered if the PWA started with a hashtag anchor in the URL, e.g. #inbox                    

扩展基本信息

名称 Gmail Taskbar Unread Badge Gmail Taskbar Unread Badge
ID kmnilibailnabapaolahfacmnapamkhg
官方URL https://chromewebstore.google.com/detail/gmail-taskbar-unread-badg/kmnilibailnabapaolahfacmnapamkhg
简介 Add an unread email count badge to Gmail's PWA icon on supported OS's taskbar's or dock's
文件大小 13.4 KB
安装次数 2,146
当前版本 0.3.0
更新时间 2023-01-05
上架时间 2020-11-08
评分 5.00/5 共16次评分
开发者 Ocfinity (Jared)
电子邮箱 [email protected]
付费类型 free
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Gmail Taskbar Unread Badge",
    "version": "0.3.0",
    "description": "Add an unread email count badge to Gmail's PWA icon on supported OS's taskbar's or dock's",
    "manifest_version": 3,
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*.mail.google.com\/mail\/u\/0\/*"
            ],
            "js": [
                "content1.js"
            ]
        },
        {
            "matches": [
                "*:\/\/*.mail.google.com\/mail\/u\/1\/*"
            ],
            "js": [
                "content2.js"
            ]
        }
    ],
    "icons": {
        "16": "\/images\/ocfinity16.png",
        "32": "\/images\/ocfinity32.png",
        "48": "\/images\/ocfinity64.png",
        "128": "\/images\/ocfinity128.png"
    }
}