Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Open external links to web pages in the browser instead of attempting to install them

A topic by The Alley Guy created 16 days ago Views: 305 Replies: 1
Viewing posts 1 to 2

Hi! I’d like to suggest an improvement to how the itch.io app handles external download links.

Several players have reported installation errors when selecting an external link on my game’s page. Another player reported this today, sharing the attached screenshots and asking whether the problem was with the game or the itch.io app.

The error shown is:

runtime error: slice bounds out of range [:-1]

This happens when a player selects an external link that leads to a web page, rather than a downloadable file. In this case, the option directs users to the download section of my website, where they can access the early access version:

https://bootyhunter.alley-games.com/#download

The app appears to try to process this page as an installable download, which results in the error.

However, other external links on the same project resolve to actual downloadable files and already work correctly. For example:

https://bootyhunter.alley-games.com/downloads/release/latest/pc/sd

My suggestion is for the app to distinguish between these destinations:

  • If the external link leads to a web page: open it in the user’s default browser, in a new tab.
  • If the external link resolves to a downloadable file: keep the current download and installation behavior, including support for redirects.

Ideally, this distinction would consider the final response after redirects, since a working file download link may not include a file extension in its URL.

This would prevent confusing installation errors and help users understand when they need to continue on the developer’s website, while preserving external file downloads that already work correctly.

I’ve attached a screenshot of the error for reference.

+1 on the friction. When an itch page link tries to "install" a normal website it feels like a broken download, not a browser hop. For creators in the meantime: label outbound links clearly ("opens in browser") on the page copy so players expect a tab, not a build.