Nice; I've been looking for a way to do two-finger-swipe -> Browser back/forward in Ubuntu/Pop for a few years now, and still haven't found a solution. Hoping this is it!
I think Firefox supports this natively, but it’s hidden behind a config option (dom.w3c_touch_events.enabled) and you need to enable XInput2 by setting the MOZ_USE_XINPUT2=1 environment variable