You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2022. It is now read-only.
Quang Lam edited this page May 13, 2021
·
6 revisions
WebCatalog, Singlebox and Clovery let you inject custom Javascript code into web apps to allow a variety of use cases, including user interface modifications, notification enhancements and more.
In addition to standard web APIs, we provide an additional set of APIs:
webcatalog.setBadgeCount(count)
window.webcatalog.setBadgeCount(count: integer): Set badge count.
count Integer (optional) - If a value is provided, set the badge to the provided value otherwise, default to 0.
Sets the counter badge for current account/service. Setting the count to 0 will hide the badge.
For example:
// set badge count for current account/service to 10window.webcatalog.setBadgeCount(10)`