From 00f63db98c70a9b22d524c258004c7d325fd445a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Sun, 15 Feb 2015 17:09:38 +0100 Subject: [PATCH] fukcshit --- js/youtube.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/youtube.js b/js/youtube.js index b38d3332..05eac8b8 100755 --- a/js/youtube.js +++ b/js/youtube.js @@ -398,7 +398,7 @@ function setBGimage(id){ function notifyUser(id, title) { title= title.replace(/\\\'/g, "'").replace(/"/g,"'").replace(/&/g,"&"); - if (Notification.permission === "granted" && !notified && document.hidden) { + if (Notification.permission === "granted" && !notified && document.hidden && id != "30H2Z8Lr-4c") { var notification = new Notification("Now Playing", {body: title, icon: "http://i.ytimg.com/vi/"+id+"/mqdefault.jpg", iconUrl: "http://i.ytimg.com/vi/"+id+"/mqdefault.jpg"}); setTimeout(function(){ notification.close();