Well, I export the game into a zip file and upload the zip to itch, with the index.html file being what actually gets run. But for me it always opens it in a separate window. Might be my version of godot, i havent updated it in a while...
I follow the same process, never happened to me
Weird, wonder what I'm doing differently