Unfortunately, scanning via the browser doesn't work on all devices. However, there is an alternative solution using a barcode scan app, especially if you don't want to remember or write down individual codes.
The prerequisite is a specific, free app:
Before we can use it the way we want, we need to configure a few things. The screenshots are from an iPhone, but it should look almost the same on Android.