version 0.4.9

This commit is contained in:
Ray Lothian 2022-11-16 06:28:54 -05:00
parent 1353e8a110
commit 70a5affd37
11 changed files with 299 additions and 109 deletions

View file

@ -1,4 +1,4 @@
/* globals UAParser */
/* global UAParser */
'use strict';
@ -544,15 +544,15 @@ const onBeforeSendHeaders = d => {
if (platform.toLowerCase().includes('mac')) {
platform = 'macOS';
}
else if (platform.toLowerCase().includes('debian')) {
platform = 'Linux';
}
const version = o.userAgentDataBuilder.p?.browser?.major || 107;
let name = o.userAgentDataBuilder.p?.browser?.name || 'Google Chrome';
if (name === 'Chrome') {
name = 'Google Chrome';
}
else if (name.includes('debian')) {
platform = 'Linux';
}
requestHeaders.push({
name: 'sec-ch-ua-platform',

View file

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "__MSG_extensionName__",
"version": "0.4.8",
"version": "0.4.9",
"default_locale": "en",
"description": "__MSG_extensionDescription__",
"permissions": [