fix: whitelist Google/OAuth domains in adblock, spoof Sec-CH-UA brand
Two-part fix for Google login "Возможно, этот браузер небезопасны" error:
1. The adblocker was eating Google integrity-check resources (gstatic,
google-analytics, googletagmanager — flagged by EasyPrivacy). Add @@
whitelist filters for Google, Yandex, Microsoft, Apple, Facebook,
GitHub, VK, Mail.ru ecosystems. Also switch from non-existent
addFilters() to updateFromDiff({added}) — previous TMDB whitelist was
silently failing in a then().catch() and never applied. Adblock cache
bumped to v3 so the new filters take effect.
2. Sec-CH-UA client-hints branding was leaking Electron app name as the
browser brand. Override sec-ch-ua, sec-ch-ua-mobile, sec-ch-ua-platform
headers via webRequest.onBeforeSendHeaders on all 3 sessions so
embedded-browser detectors see real-Chrome brand list.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ESH-Media",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"private": true,
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user