WebCatalog APIs

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 10
window.webcatalog.setBadgeCount(10)
	
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.