<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Intercept html5 browser notifications in webapp?]]></title><description><![CDATA[<p dir="auto">I am wondering it it might be possible to add HTML5 browser notifications to Morph or intercept them from a QML app similar to how <a class="plugin-mentions-user plugin-mentions-a" href="/user/kugiigi" aria-label="Profile: kugiigi">@<bdi>kugiigi</bdi></a> does it with custom notifications in the Pesbuk app.</p>
<p dir="auto">I am aware that this would only work with background suspension being disabled, but maybe if support for it was added to Morph this could be made to bypass this limitation for all Morph using applications?</p>
<p dir="auto">A quick search resulted in this thread that seems to indicate that the notifications can be intercepted with Javascript:<br />
<a href="https://stackoverflow.com/questions/57523910/intercept-html5-web-notifications-in-a-browser-environment" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/57523910/intercept-html5-web-notifications-in-a-browser-environment</a></p>
<p dir="auto">Any ideas or suggestions?</p>
]]></description><link>https://forums.ubports.com/topic/5007/intercept-html5-browser-notifications-in-webapp</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 18:12:38 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/5007.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Oct 2020 13:06:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Intercept html5 browser notifications in webapp? on Sun, 01 Nov 2020 10:46:05 GMT]]></title><description><![CDATA[<p dir="auto">Has anyone tried this: <a href="https://github.com/balcy/example-webcontainer-notifications" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/balcy/example-webcontainer-notifications</a></p>
<p dir="auto">It looks a exactly like what I have in mind...<br />
Edit: Tested it, but it currently doesn't seem to work?<br />
Edit2: The HTML5 notification tester website in general doesn't seem to work on Morph <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=bc7965752a7" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /><br />
Edit3: Confirmed by developer that this also needs the xenial_notifications branch of Morph. Lets hope that it will be merged upstream soon <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bc7965752a7" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> Keeping my fingers crossed for OTA15.</p>
]]></description><link>https://forums.ubports.com/post/42097</link><guid isPermaLink="true">https://forums.ubports.com/post/42097</guid><dc:creator><![CDATA[poVoq]]></dc:creator><pubDate>Sun, 01 Nov 2020 10:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to Intercept html5 browser notifications in webapp? on Wed, 07 Oct 2020 17:04:47 GMT]]></title><description><![CDATA[<p dir="auto">Of course that would be awesome/best, but real web push is not supported by many website and HTML5 apps, thus what I am originally asking for is a workaround using the desktop notifications that are much more widely supported.</p>
]]></description><link>https://forums.ubports.com/post/41224</link><guid isPermaLink="true">https://forums.ubports.com/post/41224</guid><dc:creator><![CDATA[poVoq]]></dc:creator><pubDate>Wed, 07 Oct 2020 17:04:47 GMT</pubDate></item><item><title><![CDATA[Reply to Intercept html5 browser notifications in webapp? on Wed, 07 Oct 2020 16:06:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/povoq" aria-label="Profile: poVoq">@<bdi>poVoq</bdi></a> Real web push integration for the browser would indeed be the correct/best general solution for notifications here.</p>
]]></description><link>https://forums.ubports.com/post/41219</link><guid isPermaLink="true">https://forums.ubports.com/post/41219</guid><dc:creator><![CDATA[dobey]]></dc:creator><pubDate>Wed, 07 Oct 2020 16:06:59 GMT</pubDate></item><item><title><![CDATA[Reply to Intercept html5 browser notifications in webapp? on Wed, 07 Oct 2020 15:50:13 GMT]]></title><description><![CDATA[<p dir="auto">That looks awesome, but it might actually be real webpush notifications?</p>
]]></description><link>https://forums.ubports.com/post/41217</link><guid isPermaLink="true">https://forums.ubports.com/post/41217</guid><dc:creator><![CDATA[poVoq]]></dc:creator><pubDate>Wed, 07 Oct 2020 15:50:13 GMT</pubDate></item><item><title><![CDATA[Reply to Intercept html5 browser notifications in webapp? on Wed, 07 Oct 2020 13:47:57 GMT]]></title><description><![CDATA[<p dir="auto">Chris Clime started working on something, look here <a href="https://github.com/ubports/morph-browser/tree/xenial_-_notifications" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ubports/morph-browser/tree/xenial_-_notifications</a></p>
]]></description><link>https://forums.ubports.com/post/41209</link><guid isPermaLink="true">https://forums.ubports.com/post/41209</guid><dc:creator><![CDATA[danqo6]]></dc:creator><pubDate>Wed, 07 Oct 2020 13:47:57 GMT</pubDate></item></channel></rss>