<?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[Push Notifications Fail from Forge of Empires]]></title><description><![CDATA[<p dir="auto">Opera GX fails to display push notifications from the browser game Forge of Empires, despite permissions being granted and service workers active. The root cause appears to be Opera GX’s strict JSON parsing of PushMessageData, which crashes when the push message is plain text instead of valid JSON.</p>
<p dir="auto">Details:</p>
<p dir="auto">Site: <a href="https://se1.forgeofempires.com/game/index" target="_blank" rel="noopener noreferrer nofollow ugc">https://se1.forgeofempires.com/game/index</a></p>
<p dir="auto">Service worker: webPushWorker.js</p>
<p dir="auto">Notifications: Permission granted manually in browser</p>
<p dir="auto">GX Control: RAM/CPU/Network limiters disabled</p>
<p dir="auto">OS: Windows 11</p>
<p dir="auto">Opera GX: Latest version as of July 2025</p>
<p dir="auto">Steps to Reproduce:</p>
<p dir="auto">Visit <a href="https://se1.forgeofempires.com/game/index" target="_blank" rel="noopener noreferrer nofollow ugc">https://se1.forgeofempires.com/game/index</a>? in Opera GX</p>
<p dir="auto">Accept notification prompt</p>
<p dir="auto">Wait for in-game push trigger (or simulate with DevTools → Application → Push)</p>
<p dir="auto">Observe that no notification is shown, and the following error appears in console:</p>
<p dir="auto">Uncaught SyntaxError: Failed to execute 'json' on 'PushMessageData': Unexpected token 'T', "Test push "... is not valid JSON<br />
at webPushWorker.js:5:25<br />
Why This Matters:</p>
<p dir="auto">Brave and Chrome handle this gracefully: either the push payload is formatted differently or .json() failures are silently handled.</p>
<p dir="auto">Opera GX appears to strictly enforce JSON parsing, leading to a crash if the data is just a plain string.</p>
<p dir="auto">Request:</p>
<p dir="auto">While the bug ultimately lies in Forge’s service worker, it would be helpful if Opera GX:</p>
<p dir="auto">Offered a fallback or more forgiving push message handling, or</p>
<p dir="auto">Surfaced this issue in DevTools warnings, or</p>
<p dir="auto">Reached out to major sites using push APIs (like Forge) for compliance guidance.</p>
<p dir="auto">Reproducibility: Always<br />
Impact: Blocks user-facing web push notifications on GX<br />
Workaround: Use Brave or Chrome</p>
<p dir="auto">Happy to provide logs or assist further. Please confirm whether this behavior is intended, or if future builds may soften the error behavior to match other Chromium browsers.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forums.opera.com/topic/85440/push-notifications-fail-from-forge-of-empires</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 12:43:16 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/85440.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Jul 2025 14:58:48 GMT</pubDate><ttl>60</ttl></channel></rss>