Hey!
As far as I can tell, the only way for your project to be recognized as browser-compatible is to use the feature where you upload it directly to itch.io. I have a case where I cannot do that. Mainly because I need a custom web server configuration and I don’t expect itch.io to support such situations, but also because I want a carefully crafted landing experience for people who chose to use the web version of my project. So this is fine!
This means, however, that my project is missing the shiny “Run in browser” tag across the platform, and cannot be found using related filters. And while I mention and link the web version, this is hardly the most important feature of the project, so it is only described in the middle of the project summary. Nowhere near where the supported platforms are listed on the page.
So my proposal here is to provide a way to indicate web support with an external link, which would opt the project into the system to be recognized and discoverable as a “run in browser” project. Now, I understand that you may have concerns about redirecting people to 3rd party resources, and if that’s a strong argument against this idea, I appreciate that. Still, I’d love to be able to tell people that they can use the project from their browser on the same level as other projects do, even if it is not hosted by itch itself.
On a sidenote, while looking for an answer I spotted this blog post which suggests injecting an iframe into the uploaded HTML file to sneakily use your self-hosted version. I’m not entirely sure if this is something that you openly support as a solution in this case, is it? If security is a concern, this seems equally problematic in my opinion. At least in terms of the phishing angle. In any case, this would probably not be a suitable replacement for me, because it doesn’t yield the best user experience.
Thanks!
EDIT: Just want to clarify that by “self-hosted” I refer to projects hosted externally, in relation to itch. I don’t refer to projects which are not hosted anywhere at all, which you need to download and host yourself or run locally in a browser. So assume that the project is already available, but for technical reasons cannot be embedded on itch and you have to navigate elsewhere to access it, if you want the browser version.
And in my specific case, the project is also available on desktop platforms. So the itch page is justified and is used appropriately. The web version is only one of the options.