You are here

Native HTML5 Notifications don't seem to work?

3 posts / 0 new
Last post
RedKage
Offline
Last seen: 9 years 7 months ago
Joined: 2010-07-17 05:23
Native HTML5 Notifications don't seem to work?

Hi there,

I have made various tests with the GNotifier addon.
- When I use an installed version of Firefox -> the notifications are native.
On Win10 TP it will add a new entry in the "New notifications" panel with "E7CF176E110C211B" as the app name.
- When I use the PortableApps version, and the same profile -> it will show the notification using the built-in popup.

Also, I seem to have the same exact issue with Thunderbird by the way.

My question is:
Is this a 'normal' behavior, like, Firefox needs to 'register' something with the OS in order for this to work, or is it a plugin issue ?

I am using this to test the notifications:
https://developer.mozilla.org/en-US/demos/detail/html5-notifications/launch

cya

RedKage
Offline
Last seen: 9 years 7 months ago
Joined: 2010-07-17 05:23
Native desktop notifications using GNotifier on PortableApps fix

I managed to get the notifications work by tweaking the registry.

I used the following .reg file:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\SOFTWARE\Mozilla\Firefox\TaskBarIDs]
[-HKEY_CURRENT_USER\SOFTWARE\Mozilla\Thunderbird\TaskBarIDs]
[-HKEY_CURRENT_USER\SOFTWARE\8pecxstudios\Cyberfox\TaskBarIDs]
[-HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Mozilla\Firefox\TaskBarIDs]
[-HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Mozilla\Thunderbird\TaskBarIDs]
[-HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\8pecxstudios\Cyberfox\TaskBarIDs]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\TaskBarIDs]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Thunderbird\TaskBarIDs]
[-HKEY_LOCAL_MACHINE\SOFTWARE\8pecxstudios\Cyberfox\TaskBarIDs]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Firefox\TaskBarIDs]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Thunderbird\TaskBarIDs]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\8pecxstudios\Cyberfox\TaskBarIDs]

[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Firefox\TaskBarIDs]
"C:\\Program Files (x86)\\Mozilla Firefox"="E7CF176E110C211B"
"P:\\PortableApps\\FirefoxPortable\\App\\Firefox"="E7CF176E110C211B"
"P:\\PortableApps\\FirefoxPortableAurora\\App\\Firefox"="XXXXXXXXXXXXXXXX"
"P:\\PortableApps\\FirefoxPortableDeveloper\\App\\Firefox"="XXXXXXXXXXXXXXXX"
"P:\\PortableApps\\FirefoxPortableESR\\App\\Firefox"="XXXXXXXXXXXXXXXX"
"P:\\PortableApps\\FirefoxPortableLegacy36\\App\\Firefox"="XXXXXXXXXXXXXXXX"
"P:\\PortableApps\\FirefoxPortableNightly\\App\\Firefox"="XXXXXXXXXXXXXXXX"
"P:\\PortableApps\\FirefoxPortableNightly64\\App\\Firefox"="XXXXXXXXXXXXXXXX"
"P:\\PortableApps\\CyberfoxPortable\\App\\Cyberfox"="655EA37AF39CC498"

[HKEY_CURRENT_USER\SOFTWARE\Mozilla\Thunderbird\TaskBarIDs]
"C:\\Program Files (x86)\\Mozilla Thunderbird"="8216C80C92C4E828"
"P:\\PortableApps\\ThunderbirdPortable\\App\\Thunderbird"="8216C80C92C4E828"

There are a lot of AppModelID that I don't know so I put "XXXXXXXXXXXXXXXX" instead.
To test various configurations, I also removed the registry keys using the [-HKLM] lines that I put at the top of the file.

That's how I noticed that the TaskbarIds both the entries in HKLM and all the ones in Wow6432nodes as well were useless.
That's also how I discovered that Cyberfox was not using its own entry from /software/8pecxstudios/cyberfox but was instead using the regular Firefox one. Weird.

Hope that helps Biggrin

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 4 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Worked Here

I just tested it under Windows 8.1 using Firefox Portable 37.0.1. Firefox 37.0.1 is installed locally and not running. The above test worked with Firefox Portable 37.0.1. I did the same test on Windows XP and Windows 7 which don't have Firefox installed. It worked properly in both locations as well.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments