From ab639b0877d00665d7c41b2f911e907c63e5f09c Mon Sep 17 00:00:00 2001 From: saenzramiro Date: Tue, 12 Jul 2016 13:53:03 -0300 Subject: [PATCH] Updated Add a Custom Service (markdown) --- Add-a-Custom-Service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Add-a-Custom-Service.md b/Add-a-Custom-Service.md index 56dfeb2..2acb86d 100644 --- a/Add-a-Custom-Service.md +++ b/Add-a-Custom-Service.md @@ -7,7 +7,7 @@ 5. Enter a URL for the Logo of the service to display it in the tab. 6. In Advanced option, there is an _Unread Code_ field. This field you will use it if the service you are adding is not notifying an activity (new messages, new emails, etc) throw the title of the page (Ex. "(2) Facebook Messenger"). The number 2 means there are 2 messages unread. This code will be injected to the service page to run it (must return an Integer) and it will be embeded into this code: -``` +```javascript function checkUnread() { updateBadge(_YOUR_CODE_WILL_BE_PLACED_HERE_); }