Use current site favicon

This commit is contained in:
Tobias Schmidl 2014-03-31 13:17:52 +02:00
parent a71e19989b
commit 514f4695eb
2 changed files with 4 additions and 4 deletions

View file

@ -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.2.3 // @version 0.2.5
// @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/*
@ -63,7 +63,7 @@ notify = function()
{ {
"dir" : "auto", "dir" : "auto",
"body" : msg, "body" : msg,
"icon" : "https://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico", "icon" : navigator.location.origin + "/favicon.ico",
"lang" : "en-US" "lang" : "en-US"
} }
) )

View file

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Google+ desktop notification // @name Google+ desktop notification
// @namespace https://www.schtobia.de/ // @namespace https://www.schtobia.de/
// @version 0.2.4 // @version 0.2.5
// @description Google+ desktop notification (based on HTML5) // @description Google+ desktop notification (based on HTML5)
// @include http://plus.google.com/ // @include http://plus.google.com/
// @include https://plus.google.com/ // @include https://plus.google.com/
@ -50,7 +50,7 @@ notify = function()
{ {
"dir" : "auto", "dir" : "auto",
"body" : msg, "body" : msg,
"icon" : "https://ssl.gstatic.com/s2/oz/images/faviconr3.ico", "icon" : navigator.location.origin + "/favicon.ico",
"lang" : "en-US" "lang" : "en-US"
} }
) )