Trying to get a seamless online game through the HTML5 API - it works in all browsers except Google Chrome.

I’m trying to take the API from the site to get a seamless online game through the HTML5 API. It works in all browsers except Google Chrome.

After googling, I found a suggestion to run Google Chrome in administrator mode in windows. I tried it, but it doesn’t work.

Do you know why the API doesn’t work in Google Chrome?
I tried to access it from incognito mode, but still, nothing worked. Here is the code:

fetch('[ example.com/api](https://example.com/api) ')
.then(response => response.json())
.then(data => {
// process API data here
})
.catch(error => {
console.error(error);
});
1 Like

Corresponding tweet for this thread:

Share link for this tweet.