Page MenuHomePhabricator

Add feature to select browser UA based on their age
Open, LowPublicFeature

Description

A nice feature could be the ability to build queries based on user-agent "age"

Eg: pattern@ua/chrome < 3y (not sure about the syntax) to verify that the Google Chrome version isn't older than 3 years.

This can be achieved by fetching the most common user-agent strings for the 4 major browsers (Chrome, Firefox, Safari, Edge) and associated release date in a form understandable by requestctl/hiddenparma.

Open questions:

  • What's the ideal format to list this kind of information that would be easy for HAProxy/Varnish to match? (eg. maps for HAProxy or Varnish, or even simpler, just a file with a list of "improbable" UA)
  • How to keep this updated? Given the kind of usage, we can also think to update it manually every 6/12 months without causing too much troubles, assuming that we find a way to compare "newer" and "older" browsers

Event Timeline

Aklapper changed the subtype of this task from "Task" to "Feature Request".Apr 16 2025, 12:08 PM
Joe triaged this task as Low priority.Feb 3 2026, 6:37 AM
Joe moved this task from Backlog to Small UI tasks on the Hiddenparma board.

You just need to expose caniuse.com browser data to hiddenparma.