Pith - ayh_extension
ayh_extension/background.js [0.6 kb]
Modified: 20:12:35 63 026 (21 May 026)
9 Days Ago
chrome.runtime.onMessage.addListener((message, sender) => {
    if (message.action === 'updateBadge' && sender.tab) {
        const count = message.count > 0 ? message.count.toString() : '';
        
        chrome.action.setBadgeText({
            text: count,
            tabId: sender.tab.id
        });

        chrome.action.setBadgeBackgroundColor({
            color: '#486860',
            tabId: sender.tab.id
        });

        if (chrome.action.setBadgeTextColor) {
            chrome.action.setBadgeTextColor({
                color: '#FFFFFF',
                tabId: sender.tab.id
            });
        }
    }
});
Updates
Shim - Android 70.026.1
Wedge - Linux 68.026.1
Wedge - Android 68.026.1
Taper - Linux 64.026.1
Ayh Extension - Chrome 63.026.1
Dev
TVShow (227) 'CSA'
TVShow (228) 'APT'
TVProgram (83) 'BXT'
Miter Update(s)
Shim (Dictation)

Menu
Calendar
Project Tin (024/029)
Miter
RSS Feed
User Avatar
@vgmlr
=SUM(parts)