From a9cbc11984f3e888698e0d867b9cafd9618a689a Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Mon, 24 Feb 2014 17:58:20 +0100 Subject: [PATCH] Changed message queue time to 10 seconds --- README.md | 2 +- facebook-notification.user.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf5d798..8b28d90 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,4 @@ These are scripts for greasemonkey, a tiny little addon which allows customized ##facebook-notification.user.js Facebook has its own notification system, but unfortunately they aren't using HTML 5 notifications. Which is sad, because then these notifications would land directly on ones desktop! These notification integrate seamlessly into the [Freedesktop Notification System](https://developer.gnome.org/notification-spec/) via an [addon](https://github.com/mkiol/GNotifier). -This script polls each 30 seconds the message status and pushes these changed statuses to a new notification. +This script polls each 10 seconds the message status and pushes these changed statuses to a new notification. diff --git a/facebook-notification.user.js b/facebook-notification.user.js index aa72d10..36b3c7b 100644 --- a/facebook-notification.user.js +++ b/facebook-notification.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Facebook desktop notification // @namespace https://www.schtobia.de/ -// @version 0.0.8 +// @version 0.1.0 // @description Facebook desktop notification (based on HTML5) // @include http*://www.facebook.com/* // @include http*://facebook.com/* @@ -26,7 +26,7 @@ var lastMessages = 0; var lastNotifications = 0; var notificationInstance = null; -var timeout = GM_getValue("timeout", 30000); +var timeout = GM_getValue("timeout", 10000); var intervalID = null;