The Website now supports mobile users!
Now if a user visits the page with a mobile device, they will get a different presentation.
Through the magic of UserAgent parsing, the website will now intelligently transform the website for mobile users!
But how does it work?
I hear no one ask...
Basically, when the user connects to any web server with any web browser, they give that web server a "UserAgent" as part of the HTTP connection.
It would look something like this:
Mozilla/5.0 (X11; Linux x86_64; rv:115.8) Gecko/20100101 Goanna/6.7 Firefox/115.8 Basilisk/20250703
This contains some basic information about the browser, such as:
- Which OS is the user running?
- Which browser is being used?
- Is it compatible with tags from other browsers? (i.e. Firefox, Chrome, etc.)
- What is the user's hardware platform? (x86_64, arm64, etc.)
Using this, I can simply run a check.
Does this string contain iPhone, iPad, Windows Phone, or Android?
If so, they're on mobile. Otherwise, they're not.
If other mobile platforms are actively used today that I forgot about, I can add them later.
But what if I want the desktop UX on mobile?
Lucky for you, every mobile browser has a fix!
Just enable "Request Desktop Site", and then instead of claiming to be mobile, your browser will report itself as running on desktop Linux (Android), Mac OS X (iOS), or Windows (Windows Phone)!
Are there any Android browsers that support Flash?
None that are up to date, but that may change soon!
A while ago, I wanted to make a UXP browser for Android. UXP can still run NPAPI plug-ins on Android (or at least it should), and Lightspark (an open-source Flash Player that's still in development) can easily be cross-compiled. It should be possible to do it that way eventually!
But for now, the best option for Flash on Android is sadly Ruffle...
That said, I have a lot more planned than just Flash, so stay tuned!