1
0
mirror of https://github.com/lancedikson/bowser synced 2026-10-30 15:26:39 +00:00

feat: detect the Freebox Revolution browser (#646)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: naorpeled <6171622+naorpeled@users.noreply.github.com>
This commit is contained in:
Copilot
2026-10-27 16:13:38 +02:00
committed by GitHub
parent 18725f9aae
commit 0f4ef3b056
3 changed files with 33 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ export const BROWSER_ALIASES_MAP = {
Epiphany: 'epiphany',
FacebookExternalHit: 'facebookexternalhit',
Firefox: 'firefox',
Freebox: 'freebox',
Focus: 'focus',
Generic: 'generic',
'Google Search': 'google_search',
@@ -95,6 +96,7 @@ export const BROWSER_MAP = {
epiphany: 'Epiphany',
facebookexternalhit: 'FacebookExternalHit',
firefox: 'Firefox',
freebox: 'Freebox',
focus: 'Focus',
generic: 'Generic',
google_search: 'Google Search',

View File

@@ -1214,6 +1214,23 @@ const browsersList = [
},
},
/* Freebox */
{
test: [/freebox/i],
describe(ua) {
const browser = {
name: 'Freebox',
};
const version = Utils.getFirstMatch(/navigateur web\/(\d+(\.\d+)+)/i, ua);
if (version) {
browser.version = version;
}
return browser;
},
},
/* Safari */
{
test: [/safari|applewebkit/i],

View File

@@ -2148,6 +2148,20 @@
engine:
name: "WebKit"
version: "605.1.15"
Freebox:
-
ua: "Mozilla/5.0 (Freebox; Linux i686) AppleWebKit/538.1 (KHTML, like Gecko) Navigateur web/1.0 Safari/538.1"
spec:
browser:
name: "Freebox"
version: "1.0"
os:
name: "Linux"
platform:
type: "desktop"
engine:
name: "WebKit"
version: "538.1"
LibreWolf:
-
ua: "Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 LibreWolf/124.0.2"