Greetings.
I'm posting small test game made in Godot and aware of such problem.
Tried to implement simple workaround. Would be Grateful if anyone can test this solution
https://x-pmods.itch.io/father-fishing
I provided in embed window link for situations when game not running.
Most part of fix I used from https://gist.github.com/nisovin/577e5596a36e899e8932747de1b7a353
but my browser is old and I prefer to block popups so it not working for all of my situations.
I added Explicit link for Player to use.
1) at start of BODY of .html
<a id="stat" href="">If not work OPEN IN NEW TAB</a>
2) and before <script src="NameOf_YOUR_game.js"></script>
<script> let id = location.pathname.split('/')[2];
let url = '//itch.io/embed-upload/' + id + '?color=303333';
window.addEventListener('load', () => {
document.links["stat"].href = url;
});</script>
Hope anyone will find it useful. Have a Great Life.