1
0
mirror of https://github.com/lancedikson/bowser synced 2026-09-23 04:24:54 +00:00

feat: add Pale Moon browser support (#495)

This commit is contained in:
Mehmet Akif Yücel
2023-11-17 21:47:16 +03:00
committed by GitHub
parent 29222b2fcf
commit bb8f94efcd
3 changed files with 46 additions and 0 deletions

View File

@@ -108,6 +108,21 @@ const browsersList = [
return browser;
},
},
{
test: [/PaleMoon/i],
describe(ua) {
const browser = {
name: 'Pale Moon',
};
const version = Utils.getFirstMatch(commonVersionIdentifier, ua) || Utils.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i, ua);
if (version) {
browser.version = version;
}
return browser;
},
},
{
test: [/MZBrowser/i],
describe(ua) {