Unity WebGL export help

I seem to have trouble either building to or uploading my game’s WebGL build online so that Firefox wouldn’t give me a SecurityError or Incorrect Header. It was playable at one point, but only on specific URLs I’m using Unity 5.3.4f.

Here’s what I’ve done so far:

  • Removed scripts that evaluates or generates javascript code. Long story
  • Left the editor’s security URL untouched
  • Left the player settings untouched (except the project name, obviously)
  • Hit build to folder named “Hidden in Plain Sight (WebGL v1)”, leaving the debug checkbox unchecked
  • Once built, change the index.html with changed to
  • Remove the .htaccess file (except for uploading on my own site)
  • Zip index.html and Release folder. This makes index.html in the root.

Doing this method, I am able to play the game just fine on my own website (htaccess included). When embedded in the Ludum Dare website, the game on firefox returns a SecurityError message (Chromium doesn’t do this). Itch.io and GameJolt has similar problems (htaccess excluded).

Edit: I also briefly tried to upload to Newgrounds, with similar results. The only other webportal in consideration was Kongregate.