II doubt if it’s worth pursuing this any further.
I agree. You are heading towards disabling protective elements of the code.
I’m not a fan of free web hosting sites, nor many of the really cheap ones. Not, IMHO, suitable platforms for storing sensitive / private data, though I do realize you are only testing something. I also tend to follow the cliche ” you get what you pay for”.
You would probably be better doing any testing on a locally installed web server (on your own desktop). I have used xampp and aamp for this, and believe wamp is also good. All can be found through Google and installed fairly easily. My current preference is aamp. It seems the easiest to install.