Error "Your browser does not allow to read local files" on Firefox only

I'm not using a local host, I uploaded the game to my website on a pretty standard shared server.
It works fine on all browsers except Firefox where shows "Error Your browser does not allow to read local files". (No wrappers, no nothing, plain url to index.html)
I did read the other thread that solved by checking 'disable cache' on network tab but doesn't solve for me.
Any idea?
it's basically a security setting to prevent access from websites to local files for privacy and protection reasons.

that means that either your firefox is set to be very restrictive in its privacy settings, or a plugin requires more than the usual access to temp files for the saving.
I loosened all the privacy settings. same error.
I uploaded a default game with just one map and player starting point, no plugins, no nothing. same error.
I installed Firefox in a clean VM. Sometimes same error, sometimes it opens the file but the game lags a lot.
what's even weirder is that this random game works on firefox if opened from this page https://magushat.itch.io/lost-in-the-snow but if i open the direct link to the index.html file https://v6p9d9t4.ssl.hwcdn.net/html/6945023/Project2/index.html (taken from the iframe) doesn't work any more.
The links both work on other browsers.

Original thread: https://forums.rpgmakerweb.com/threads/error-your-browser-does-not-allow-to-read-local-files-on-firefox-only.153120/