Changed message queue time to 10 seconds
This commit is contained in:
parent
78652f4f96
commit
a9cbc11984
2 changed files with 3 additions and 3 deletions
|
@ -5,4 +5,4 @@ These are scripts for greasemonkey, a tiny little addon which allows customized
|
||||||
##facebook-notification.user.js
|
##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).
|
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.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Facebook desktop notification
|
// @name Facebook desktop notification
|
||||||
// @namespace https://www.schtobia.de/
|
// @namespace https://www.schtobia.de/
|
||||||
// @version 0.0.8
|
// @version 0.1.0
|
||||||
// @description Facebook desktop notification (based on HTML5)
|
// @description Facebook desktop notification (based on HTML5)
|
||||||
// @include http*://www.facebook.com/*
|
// @include http*://www.facebook.com/*
|
||||||
// @include http*://facebook.com/*
|
// @include http*://facebook.com/*
|
||||||
|
@ -26,7 +26,7 @@ var lastMessages = 0;
|
||||||
var lastNotifications = 0;
|
var lastNotifications = 0;
|
||||||
var notificationInstance = null;
|
var notificationInstance = null;
|
||||||
|
|
||||||
var timeout = GM_getValue("timeout", 30000);
|
var timeout = GM_getValue("timeout", 10000);
|
||||||
|
|
||||||
var intervalID = null;
|
var intervalID = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue