capiumbrowser 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/channels.json +7 -7
- package/lib/config.js +17 -7
- package/lib/launch-common.js +24 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -505,7 +505,7 @@ await launch({ seed: 200123, args: [
|
|
|
505
505
|
| `--fingerprint-hardware-concurrency=<n>` | `navigator.hardwareConcurrency` (CPU cores). |
|
|
506
506
|
| `--fingerprint-screen-width=<n>` / `--fingerprint-screen-height=<n>` | `screen.width` / `screen.height`. |
|
|
507
507
|
| `--fingerprint-device-scale-factor=<f>` | `devicePixelRatio`. |
|
|
508
|
-
| `--fingerprint-storage-quota=<GB>` | `navigator.storage.estimate().quota` in **gigabytes** (also affects incognito-from-quota checks). Auto-set
|
|
508
|
+
| `--fingerprint-storage-quota=<GB>` | `navigator.storage.estimate().quota` in **gigabytes** (also affects incognito-from-quota checks). Auto-set to 10 GB by the SDK (stock-Chrome-coherent) so the real host/container disk never leaks — including on Windows, where no wrapper runs. |
|
|
509
509
|
|
|
510
510
|
**Rendering & noise**
|
|
511
511
|
|
|
@@ -712,7 +712,7 @@ launches **headed**, which reads cleaner than headless.
|
|
|
712
712
|
The SDK auto-detects your host and downloads the matching tag; macOS Intel and Windows ARM are **not**
|
|
713
713
|
published and throw a clear error.
|
|
714
714
|
<!-- capium:release-line -->
|
|
715
|
-
The **1.3.
|
|
715
|
+
The **1.3.5** release ships Chromium **156.0.8078.48** on Windows x64, macOS arm64 and **156.0.8078.47** on Linux x64 (packaging revision **6**). Browser downloads require a valid license. Linux arm64 remains declared but unpublished.
|
|
716
716
|
<!-- /capium:release-line -->
|
|
717
717
|
|
|
718
718
|
---
|
package/lib/channels.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_comment": "SINGLE SOURCE OF TRUTH for the current stable Capium browser build per OS/arch. Each OS reaches stable independently -- edit one entry without touching the others. This file ships inside the wheel (the SDK reads it to pick each host's stable build) AND is published to the download server by the release pipeline. `version` is the reported Chromium version (what the browser reports to the customer, names the R2 folder); `engine_version` is the actual built Chromium engine (box_package verifies the binary against it) -- it differs from `version` when a platform reports a spoofed patch (Windows/macOS report .48 on the .47 engine). `revision` is our packaging counter -- the served R2 folder is chromium-v<version>.<revision>/, ALWAYS dotted-suffixed starting at 1. A Chromium version bump resets revision to 1. `published: false` means the tag is declared but no artifact exists yet.",
|
|
3
3
|
"schema": 1,
|
|
4
|
-
"updated": "2026-
|
|
4
|
+
"updated": "2026-11-01",
|
|
5
5
|
"channels": {
|
|
6
6
|
"stable": {
|
|
7
7
|
"windows-x64": {
|
|
8
8
|
"version": "156.0.8078.48",
|
|
9
9
|
"engine_version": "156.0.8078.47",
|
|
10
|
-
"revision":
|
|
11
|
-
"sha256": "
|
|
10
|
+
"revision": 6,
|
|
11
|
+
"sha256": "a1b0767ec751293c24ebced5a7db201ae6e3d25192b4b4863fd5d29b24ceb170",
|
|
12
12
|
"published": true,
|
|
13
13
|
"license_status_protocol": 1
|
|
14
14
|
},
|
|
15
15
|
"macos-arm64": {
|
|
16
16
|
"version": "156.0.8078.48",
|
|
17
17
|
"engine_version": "156.0.8078.47",
|
|
18
|
-
"revision":
|
|
19
|
-
"sha256": "
|
|
18
|
+
"revision": 6,
|
|
19
|
+
"sha256": "15e9aceb8b7b45bb10a78a78ea0ea5dc62aa5b7f6f6fd3646b7f7087f25af0fd",
|
|
20
20
|
"published": true,
|
|
21
21
|
"license_status_protocol": 1
|
|
22
22
|
},
|
|
23
23
|
"linux-x64": {
|
|
24
24
|
"version": "156.0.8078.47",
|
|
25
25
|
"engine_version": "156.0.8078.47",
|
|
26
|
-
"revision":
|
|
27
|
-
"sha256": "
|
|
26
|
+
"revision": 6,
|
|
27
|
+
"sha256": "e1a5291180289c4adf51395660544e11ab709816dfdf6597fb92eec5ef82d29a",
|
|
28
28
|
"published": true,
|
|
29
29
|
"license_status_protocol": 1
|
|
30
30
|
},
|
package/lib/config.js
CHANGED
|
@@ -22,7 +22,17 @@ const path = require('path');
|
|
|
22
22
|
// The historical 153 package lacked its ICD manifest;
|
|
23
23
|
// the 155 packager includes it. Validate drawing in
|
|
24
24
|
// the deployed environment for either backend.
|
|
25
|
-
|
|
25
|
+
// --disable-popup-blocking / --disable-ipc-flooding-protection : the drivers
|
|
26
|
+
// inject these, but a normal user session leaves
|
|
27
|
+
// popup blocking and IPC flood protection ON.
|
|
28
|
+
// Bot detectors (rebrowser) probe for both, so
|
|
29
|
+
// strip them and keep the browser's real defaults.
|
|
30
|
+
const IGNORE_DEFAULT_ARGS = [
|
|
31
|
+
'--enable-automation',
|
|
32
|
+
'--enable-unsafe-swiftshader',
|
|
33
|
+
'--disable-popup-blocking',
|
|
34
|
+
'--disable-ipc-flooding-protection',
|
|
35
|
+
];
|
|
26
36
|
|
|
27
37
|
// The 155 engine selects a seeded screen within these default bounds. The headless
|
|
28
38
|
// window is sized PER SEED after launch (fitWindow -> the seed's screen.availWidth/Height),
|
|
@@ -87,12 +97,12 @@ function getDefaultStealthArgs(seed = null, platform = 'windows', screen = null,
|
|
|
87
97
|
args.push(`--fingerprint=${s}`);
|
|
88
98
|
if (platform) args.push(`--fingerprint-platform=${platform}`);
|
|
89
99
|
// Storage quota: navigator.storage.estimate().quota otherwise reports the real
|
|
90
|
-
// host disk
|
|
91
|
-
// is UNSPOOFED because no bash wrapper runs
|
|
92
|
-
//
|
|
93
|
-
//
|
|
94
|
-
// wrapper sees this flag (HAVE_QUOTA=1) and defers to it
|
|
95
|
-
args.push(
|
|
100
|
+
// host disk, which leaks disk size and links every profile on one machine (same
|
|
101
|
+
// disk -> same quota), and on Windows it is UNSPOOFED because no bash wrapper runs
|
|
102
|
+
// there. Pin a flat 10 GB -- the value stock Chrome reports (verified on real
|
|
103
|
+
// hardware), and a quota real profiles on a shared disk would agree on. On
|
|
104
|
+
// Linux/macOS the wrapper sees this flag (HAVE_QUOTA=1) and defers to it.
|
|
105
|
+
args.push('--fingerprint-storage-quota=10');
|
|
96
106
|
}
|
|
97
107
|
args.push(
|
|
98
108
|
// Allow third-party cookies (reCAPTCHA/login flows need them). capium blocks 3p cookies
|
package/lib/launch-common.js
CHANGED
|
@@ -40,6 +40,22 @@ function proxyAndGeoArgs(spec, geoipOn) {
|
|
|
40
40
|
return { launchOptions, args: out };
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
// A coherent Accept-Language value. A real localized Chrome exposes the
|
|
44
|
+
// bare-language fallback after a region tag (navigator.languages ==
|
|
45
|
+
// ["de-DE","de"]); a lone region tag is a fingerprint coherence tell. Expand a
|
|
46
|
+
// single "xx-YY" into "xx-YY,xx". A caller value that is already a list
|
|
47
|
+
// (contains a comma) passes through unchanged.
|
|
48
|
+
function acceptLanguageChain(locale) {
|
|
49
|
+
if (!locale || locale.includes(',')) return locale;
|
|
50
|
+
const tag = locale.trim();
|
|
51
|
+
const dash = tag.indexOf('-');
|
|
52
|
+
if (dash > 0 && dash + 1 < tag.length) {
|
|
53
|
+
const primary = tag.slice(0, dash);
|
|
54
|
+
if (primary && primary !== tag) return `${tag},${primary}`;
|
|
55
|
+
}
|
|
56
|
+
return tag;
|
|
57
|
+
}
|
|
58
|
+
|
|
43
59
|
function buildArgs({ seed, platform, stealthArgs, timezone, locale, extensionPaths, extra,
|
|
44
60
|
headless = false, mobileDevice = null, browserBrand = null }) {
|
|
45
61
|
let args = [];
|
|
@@ -51,10 +67,17 @@ function buildArgs({ seed, platform, stealthArgs, timezone, locale, extensionPat
|
|
|
51
67
|
args = args.concat(config.getHeadlessDefaultArgs());
|
|
52
68
|
}
|
|
53
69
|
}
|
|
70
|
+
// Pin NEW headless explicitly. Chromium removed legacy headless in M128, so
|
|
71
|
+
// the 156 engine only ever runs new headless; spelling out --headless=new
|
|
72
|
+
// keeps the launch self-documenting and robust to driver defaults. Skip when
|
|
73
|
+
// the caller already chose a --headless mode in their own args.
|
|
74
|
+
if (headless && !(extra || []).some((a) => String(a).startsWith('--headless'))) {
|
|
75
|
+
args.push('--headless=new');
|
|
76
|
+
}
|
|
54
77
|
if (timezone) args.push(`--timezone=${timezone}`); // capium in-binary tz spoof
|
|
55
78
|
if (locale) {
|
|
56
79
|
args.push(`--lang=${locale}`);
|
|
57
|
-
args.push(`--accept-lang=${locale}`);
|
|
80
|
+
args.push(`--accept-lang=${acceptLanguageChain(locale)}`);
|
|
58
81
|
}
|
|
59
82
|
if (extensionPaths) {
|
|
60
83
|
const paths = Array.isArray(extensionPaths) ? extensionPaths : [extensionPaths];
|
package/package.json
CHANGED