Play Web Game as Firefox WebExtension

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jalkhov

Hi, I would like to know if there are ways to run a game exported as HTML5 from a webExtension. I already understand that games exported in this way cannot be run directly from the html file, they need a server, so I wanted to know if it was possible to create a kind of server from firefox.

As a bonus I must say that some of the games available for firefox as extension are made in pure javascript, so no server is needed. I think maybe this is a question for a firefox forum, but I want to know your point of view.

I should also say that WebExtensions are developed in Javascript, for what it’s worth.