mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	fukcshit
This commit is contained in:
		@@ -398,7 +398,7 @@ function setBGimage(id){
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
function notifyUser(id, title) {
 | 
					function notifyUser(id, title) {
 | 
				
			||||||
	title= title.replace(/\\\'/g, "'").replace(/"/g,"'").replace(/&/g,"&");
 | 
						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"});
 | 
						    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(){
 | 
						    setTimeout(function(){
 | 
				
			||||||
	    	notification.close();
 | 
						    	notification.close();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user