Open flashliberty5467 opened 1 year ago
This site is using a script that conflicts with Ruffle, specifically MooTools. Same problem as #8348, #6065, #2567 and #2463.
If you open Chrome Devtools and look at network requests, it's requesting https://www.freeaddictinggames.com/game/the-great-sperm-race/[object%20Object] instead of the regular swf file.
On Fri, Nov 25, 2022 at 11:44 PM nosamu @.***> wrote:
This site is using a script that conflicts with Ruffle, specifically MooTools. Same problem as #8348 https://github.com/ruffle-rs/ruffle/issues/8348, #6065 https://github.com/ruffle-rs/ruffle/issues/6065, #2567 https://github.com/ruffle-rs/ruffle/issues/2567 and #2463 https://github.com/ruffle-rs/ruffle/issues/2463.
— Reply to this email directly, view it on GitHub https://github.com/ruffle-rs/ruffle/issues/8619#issuecomment-1327999596, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUFWDU72W3XPW5W3RV76IKLWKG5VZANCNFSM6AAAAAASL2B7E4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I can't see MooTools on this page (anymore at least). On the HTTPS version of this page the content can't work because it's mixed content. Even if you disable your browsers built-in protection and allow mixed content, the content still doesn't work because of CORS, since the HTTP version of the SWFs are requested, which counts as a different origin. That version of this page can't work without the site owner making changes to the site.
The more interesting issue is on http://www.freeaddictinggames.com/game/the-great-sperm-race/. That page tries to load http://www.freeaddictinggames.com/loader/ima-vast-preroll.swf?v=2 and http://www.freeaddictinggames.com/games/the-great-sperm-race/the-great-sperm-race.swf. Those files both exist, when I click those links they download, and the SWF file plays fine in the demo. There are no CORS errors in the console, as those are on the same origin. However, for reasons which I don't actually know, the Network tab says NS_BINDING_ABORTED for both those files and the console says "Asynchronous error occurred: Invalid SWF: Couldn't read SWF: Invalid data: Invalid SWF"
for reasons which I don't actually know, the Network tab says NS_BINDING_ABORTED for both those files and the console says "Asynchronous error occurred: Invalid SWF: Couldn't read SWF: Invalid data: Invalid SWF"
It's because MooTools somehow rewrites the request to http://www.freeaddictinggames.com/game/the-great-sperm-race/[object%20Object]
, canceling the original request.
Describe the bug
the game works on puffin browser on chromeos
but yet in google chrome with ruffle i get this image
this is the error report i got
Player Info
Allows script access: true
Page Info
Page URL: https://www.freeaddictinggames.com/game/the-great-sperm-race/ SWF URL: https://www.freeaddictinggames.com/loader/ima-vast-preroll.swf?v=2
Browser Info
User Agent: Mozilla/5.0 (X11; CrOS x86_64 15117.111.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Platform: Linux x86_64 Has touch support: false
Ruffle Info
Version: 0.1.0 Name: nightly 2022-11-25 Channel: nightly Built: 2022-11-25T00:16:08.207Z Commit: 14f27a9e4a2f7c838bb680c98cf8697df2888022 Is extension: true
Metadata
Expected behavior
for the game to function on the website
Affected platform
Browser's extension
Operating system
ChromeOS
Browser
Version 107.0.5304.110 (Official Build) (64-bit)
Additional information
Error Info
Error name: Error Error message: Failed to fetch: https://www.freeaddictinggames.com/loader/ima-vast-preroll.swf?v=2 Error stack:
Player Info
Allows script access: true Renderer: WebGL
Page Info
Page URL: https://www.freeaddictinggames.com/game/the-great-sperm-race/ SWF URL: https://www.freeaddictinggames.com/loader/ima-vast-preroll.swf?v=2
Browser Info
User Agent: Mozilla/5.0 (X11; CrOS x86_64 15117.111.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Platform: Linux x86_64 Has touch support: false
Ruffle Info
Version: 0.1.0 Name: nightly 2022-11-25 Channel: nightly Built: 2022-11-25T00:16:08.207Z Commit: 14f27a9e4a2f7c838bb680c98cf8697df2888022 Is extension: true
Metadata