From ee5dbdcfee6e90158e290285ada4e4fbfed907a0 Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Tue, 19 Jul 2011 10:44:55 +0200 Subject: [PATCH] handle Socialnetworkmaintaining from Irssi script (motivated by newly created wiki page) --- greasemonkey/virtualblinders.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greasemonkey/virtualblinders.user.js b/greasemonkey/virtualblinders.user.js index fe40b45..c3b4aca 100644 --- a/greasemonkey/virtualblinders.user.js +++ b/greasemonkey/virtualblinders.user.js @@ -42,7 +42,7 @@ function responseCheck(task) { timeThreshold = 600; aboveThreshold = ( timeThreshold < time_spent ); aboveThreshold = true; //kept until actived to maintain previous behavior - if (task == 'Reading\n' || task == 'Programming\n'){ + if (task == 'Reading\n' || task == 'Programming\n' || task == 'Socialnetworkmaintaining\n'){ if ( !aboveThreshold ) { //under threshold, just display a warning and the content document.body.innerHTML="You should be focusing on "