Icons via @resource don't work. :(
This commit is contained in:
		
							parent
							
								
									b8ad957e64
								
							
						
					
					
						commit
						c91e4bd4ae
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// ==UserScript==
 | 
			
		||||
// @name          Facebook desktop notification
 | 
			
		||||
// @namespace     https://www.schtobia.de/
 | 
			
		||||
// @version       0.0.7
 | 
			
		||||
// @version       0.0.8
 | 
			
		||||
// @description	  Facebook desktop notification (based on HTML5)
 | 
			
		||||
// @include       http*://www.facebook.com/*
 | 
			
		||||
// @include       http*://facebook.com/*
 | 
			
		||||
| 
						 | 
				
			
			@ -9,7 +9,6 @@
 | 
			
		|||
// @run-at        document-end
 | 
			
		||||
// @downloadURL   https://github.com/schtobia/greasemonkey/raw/master/facebook-notification.user.js
 | 
			
		||||
// @updateURL     https://github.com/schtobia/greasemonkey/raw/master/facebook-notification.user.js
 | 
			
		||||
// @resource facebookLogo https://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico
 | 
			
		||||
// ==/UserScript==
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -56,7 +55,7 @@ notify = function()
 | 
			
		|||
			{
 | 
			
		||||
				"dir" : "auto",
 | 
			
		||||
				"body" : msg,
 | 
			
		||||
				"icon" : GM_getResourceText("facebookLogo"),
 | 
			
		||||
				"icon" : "https://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico",
 | 
			
		||||
			}
 | 
			
		||||
		)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue