Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
340886293a | ||
|
|
fc1699a526 |
Generated
+1
-1
@@ -45,7 +45,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "agent-browser-stealth"
|
name = "agent-browser-stealth"
|
||||||
version = "0.27.0-fork.25"
|
version = "0.27.0-fork.26"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes-gcm",
|
"aes-gcm",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "agent-browser-stealth"
|
name = "agent-browser-stealth"
|
||||||
version = "0.27.0-fork.25"
|
version = "0.27.0-fork.26"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Fast browser automation CLI for AI agents"
|
description = "Fast browser automation CLI for AI agents"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
|||||||
@@ -270,13 +270,18 @@ pub fn strip_source_url_labels(input: &str) -> String {
|
|||||||
re_block.replace_all(&output, "").to_string()
|
re_block.replace_all(&output, "").to_string()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The legacy `navigator.platform` value (set via the CDP
|
||||||
|
/// `Emulation.setUserAgentOverride` `platform` field). This is NOT the UA-CH
|
||||||
|
/// platform (see `platform_hint`): real Chrome reports `MacIntel` on macOS and
|
||||||
|
/// `Linux x86_64` on Linux, so emitting the UA-CH form ("macOS"/"Linux") here is
|
||||||
|
/// a detectable mismatch against the UA's "Intel Mac OS X" / Linux strings.
|
||||||
fn platform_string() -> &'static str {
|
fn platform_string() -> &'static str {
|
||||||
if cfg!(target_os = "macos") {
|
if cfg!(target_os = "macos") {
|
||||||
"macOS"
|
"MacIntel"
|
||||||
} else if cfg!(target_os = "windows") {
|
} else if cfg!(target_os = "windows") {
|
||||||
"Win32"
|
"Win32"
|
||||||
} else {
|
} else {
|
||||||
"Linux"
|
"Linux x86_64"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "agent-browser-stealth",
|
"name": "agent-browser-stealth",
|
||||||
"version": "0.27.0-fork.25",
|
"version": "0.27.0-fork.26",
|
||||||
"description": "Browser automation CLI for AI agents \u2014 stealth fork with anti-detection",
|
"description": "Browser automation CLI for AI agents \u2014 stealth fork with anti-detection",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"packageManager": "pnpm@11.1.3",
|
"packageManager": "pnpm@11.1.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user