Yes!! I was considering posting this. The swiping back mostly works but it's not as responsive as swiping on a native app often is. A back button would be very welcome.
I just implemented a very basic back button myself. If you install the Tampermonkey extension, you can use this script to put in the back button (and also set theme color)
// @name Cohost PWA stuff
// @namespace https://cohost.org/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://cohost.org/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
var a = document.createElement('div');
a.innerHTML = '<a class="text-text hover:text-accent" onclick="window.history.back()" style="font-weight: 900;">< back</a>';
document.querySelector("header").style="padding-left: 1em; padding-right: 1em;";
var meta = document.createElement('meta');
meta.name = "theme-color";
meta.content = "#83254f";
Thanks! Unfortunately I usually browse on my iPad, but I’m sure this will be helpful for those browsing on their desktops.
Yeah the whole reason I would want it is mobile, on firefox on desktop I have a back button so it's wholly unnecessary. It's cool that you made it work, though!
I use cohost as a PWA on both mobile and desktop.
I didn't know about the swipe-to-go-back gesture, so when I first tried the progressive web app I didn't even think it was possible to go back. Even knowing about the gesture, I would prefer a button.