human-browser 3.0.0 β 3.1.0
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 +53 -149
- package/SKILL.md +25 -0
- package/package.json +1 -1
- package/scripts/browser-human.js +13 -5
package/README.md
CHANGED
|
@@ -1,48 +1,26 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/@al1enjesus/human-browser)
|
|
4
|
-
[](https://clawhub.ai/al1enjesus/human-browser)
|
|
5
|
-
[](https://skills.sh/al1enjesus/human-browser)
|
|
6
|
-
[](LICENSE)
|
|
1
|
+
# Human Browser β Cloud Stealth Browser for AI Agents
|
|
7
2
|
|
|
8
3
|
> **No Mac Mini. No local machine. Your agent runs it anywhere.**
|
|
9
4
|
> Residential IPs from 10+ countries. Bypasses Cloudflare, DataDome, PerimeterX.
|
|
10
|
-
|
|
11
|
-
π **Product page
|
|
12
|
-
π¬ **Support:**
|
|
5
|
+
>
|
|
6
|
+
> π **Product page:** https://humanbrowser.dev
|
|
7
|
+
> π¬ **Support:** https://t.me/virixlabs
|
|
13
8
|
|
|
14
9
|
---
|
|
15
10
|
|
|
16
11
|
## Why your agent needs this
|
|
17
12
|
|
|
18
|
-
Regular Playwright on a
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- **Instagram, LinkedIn, TikTok** β residential IP requirement
|
|
24
|
-
|
|
25
|
-
Human Browser solves this with:
|
|
13
|
+
Regular Playwright on a data-center server gets blocked **immediately** by:
|
|
14
|
+
- Cloudflare (bot score detection)
|
|
15
|
+
- DataDome (fingerprint analysis)
|
|
16
|
+
- PerimeterX (behavioral analysis)
|
|
17
|
+
- Instagram, LinkedIn, TikTok (residential IP requirement)
|
|
26
18
|
|
|
27
|
-
|
|
28
|
-
|
|
19
|
+
Human Browser solves this by combining:
|
|
20
|
+
1. **Residential IP** β real ISP address from the target country (not a data center)
|
|
21
|
+
2. **Real device fingerprint** β iPhone 15 Pro or Windows Chrome, complete with canvas, WebGL, fonts
|
|
29
22
|
3. **Human-like behavior** β Bezier mouse curves, 60β220ms typing, natural scroll with jitter
|
|
30
|
-
4. **Full anti-detection** β `webdriver=false`, no automation flags, correct timezone
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
## Install
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
# OpenClaw agents (recommended)
|
|
38
|
-
clawhub install al1enjesus/human-browser
|
|
39
|
-
|
|
40
|
-
# skild.sh (multi-platform)
|
|
41
|
-
skild install al1enjesus/human-browser
|
|
42
|
-
|
|
43
|
-
# npm
|
|
44
|
-
npm install @al1enjesus/human-browser
|
|
45
|
-
```
|
|
23
|
+
4. **Full anti-detection** β `webdriver=false`, no automation flags, correct timezone & geolocation
|
|
46
24
|
|
|
47
25
|
---
|
|
48
26
|
|
|
@@ -57,7 +35,6 @@ const { browser, page, humanType, humanClick, humanScroll, sleep } = await launc
|
|
|
57
35
|
// Specific country
|
|
58
36
|
const { page } = await launchHuman({ country: 'us' }); // US residential IP
|
|
59
37
|
const { page } = await launchHuman({ country: 'gb' }); // UK residential IP
|
|
60
|
-
const { page } = await launchHuman({ country: 'jp' }); // Japan
|
|
61
38
|
|
|
62
39
|
// Desktop Chrome (Windows fingerprint)
|
|
63
40
|
const { page } = await launchHuman({ mobile: false, country: 'us' });
|
|
@@ -71,122 +48,59 @@ await browser.close();
|
|
|
71
48
|
|
|
72
49
|
---
|
|
73
50
|
|
|
74
|
-
##
|
|
75
|
-
|
|
76
|
-
| Country | β
Works great | β Blocked |
|
|
77
|
-
|---------|--------------|-----------|
|
|
78
|
-
| π·π΄ Romania `ro` | Polymarket, Instagram, Binance, Cloudflare | US Banks, Netflix US |
|
|
79
|
-
| πΊπΈ United States `us` | Netflix, DoorDash, US Banks, Amazon US | Polymarket, Binance |
|
|
80
|
-
| π¬π§ United Kingdom `gb` | Polymarket, Binance, BBC iPlayer | US-only apps |
|
|
81
|
-
| π©πͺ Germany `de` | EU services, Binance, German e-commerce | US-only |
|
|
82
|
-
| π³π± Netherlands `nl` | Crypto, privacy, Polymarket, Web3 | US Banks |
|
|
83
|
-
| π―π΅ Japan `jp` | Japanese e-commerce, Line, localized prices | β |
|
|
84
|
-
| π«π· France `fr` | EU services, luxury brands | US-only |
|
|
85
|
-
| π¨π¦ Canada `ca` | North American services | Some US-only |
|
|
86
|
-
| πΈπ¬ Singapore `sg` | APAC/SEA e-commerce | US-only |
|
|
87
|
-
| π¦πΊ Australia `au` | Oceania content | β |
|
|
88
|
-
|
|
89
|
-
**β Interactive country selector + service matrix:** [humanbrowser.dev](https://humanbrowser.dev)
|
|
90
|
-
|
|
91
|
-
---
|
|
92
|
-
|
|
93
|
-
## Recipes
|
|
94
|
-
|
|
95
|
-
### Scrape Instagram without getting blocked
|
|
96
|
-
```js
|
|
97
|
-
const { page } = await launchHuman({ country: 'ro' });
|
|
98
|
-
await page.goto('https://www.instagram.com/username/');
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Polymarket / crypto platforms (EU IP required)
|
|
102
|
-
```js
|
|
103
|
-
const { page } = await launchHuman({ country: 'ro' }); // or 'gb', 'nl'
|
|
104
|
-
await page.goto('https://polymarket.com');
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### US-only services (Netflix, DoorDash)
|
|
108
|
-
```js
|
|
109
|
-
const { page } = await launchHuman({ country: 'us', mobile: false });
|
|
110
|
-
await page.goto('https://doordash.com');
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
### React input fields
|
|
114
|
-
```js
|
|
115
|
-
// page.fill() fails silently on React inputs β use humanType instead
|
|
116
|
-
await humanType(page, 'input[name="email"]', 'user@example.com');
|
|
117
|
-
```
|
|
51
|
+
## Setup
|
|
118
52
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
[...document.querySelectorAll('button')]
|
|
123
|
-
.find(b => b.offsetParent && b.textContent.includes(text))?.click();
|
|
124
|
-
}, 'Continue');
|
|
125
|
-
```
|
|
53
|
+
```bash
|
|
54
|
+
npm install playwright
|
|
55
|
+
npx playwright install chromium --with-deps
|
|
126
56
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
await page.goto('https://api.ipify.org?format=json');
|
|
130
|
-
const { ip } = JSON.parse(await page.textContent('body'));
|
|
131
|
-
console.log('IP:', ip); // Residential IP from your target country
|
|
57
|
+
# Install via skill manager
|
|
58
|
+
clawhub install al1enjesus/human-browser
|
|
132
59
|
```
|
|
133
60
|
|
|
134
61
|
---
|
|
135
62
|
|
|
136
|
-
##
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
|
143
|
-
|
|
144
|
-
|
|
|
145
|
-
|
|
|
146
|
-
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
63
|
+
## Supported Countries
|
|
64
|
+
|
|
65
|
+
| Country | Code | Best for |
|
|
66
|
+
|---------|------|----------|
|
|
67
|
+
| π·π΄ Romania | `ro` | Polymarket, Instagram, Binance, Cloudflare |
|
|
68
|
+
| πΊπΈ United States | `us` | Netflix, DoorDash, US Banks, Amazon |
|
|
69
|
+
| π¬π§ United Kingdom | `gb` | Polymarket, Binance, BBC iPlayer |
|
|
70
|
+
| π©πͺ Germany | `de` | EU services, German e-commerce |
|
|
71
|
+
| π³π± Netherlands | `nl` | Crypto, Polymarket, Web3 |
|
|
72
|
+
| π―π΅ Japan | `jp` | Japanese e-commerce, Line |
|
|
73
|
+
| π«π· France | `fr` | EU services, luxury brands |
|
|
74
|
+
| π¨π¦ Canada | `ca` | North American services |
|
|
75
|
+
| πΈπ¬ Singapore | `sg` | APAC/SEA e-commerce |
|
|
76
|
+
| π¦πΊ Australia | `au` | Oceania content |
|
|
150
77
|
|
|
151
78
|
---
|
|
152
79
|
|
|
153
|
-
##
|
|
80
|
+
## Proxy Providers
|
|
154
81
|
|
|
155
|
-
|
|
82
|
+
### Option 1: Human Browser Managed (recommended)
|
|
83
|
+
Buy directly at **humanbrowser.dev** β we handle everything, from $13.99/mo.
|
|
84
|
+
Supports crypto (USDT/ETH/BTC/SOL) and card. AI agents can auto-purchase.
|
|
156
85
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
method: 'POST',
|
|
160
|
-
headers: { 'Content-Type': 'application/json' },
|
|
161
|
-
body: JSON.stringify({
|
|
162
|
-
plan: 'starter', // 'starter' | 'pro' | 'enterprise'
|
|
163
|
-
currency: 'USDT', // 'card' | 'USDT' | 'BTC' | 'ETH' | 'SOL'
|
|
164
|
-
email: 'agent@example.com'
|
|
165
|
-
})
|
|
166
|
-
});
|
|
167
|
-
const { payment_url, order_id } = await res.json();
|
|
168
|
-
```
|
|
86
|
+
### Option 2: Bring Your Own Proxy (affiliate)
|
|
87
|
+
Use our partner proxies β we earn a small commission at no cost to you:
|
|
169
88
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
PROXY_USER=brd-customer-hl_XXXXXX-zone-mcp_unlocker-country-ro
|
|
173
|
-
PROXY_PASS=XXXXXXXXXX
|
|
174
|
-
PROXY_HOST=brd.superproxy.io
|
|
175
|
-
PROXY_PORT=22225
|
|
176
|
-
```
|
|
89
|
+
- **Decodo** (ex-Smartproxy) β https://decodo.com/?ref=humanbrowser
|
|
90
|
+
Residential, ISP, datacenter. From $2.5/GB. Best for most use cases.
|
|
177
91
|
|
|
178
|
-
|
|
92
|
+
- **IPRoyal** β https://iproyal.com/?ref=humanbrowser
|
|
93
|
+
Budget residential from $1.75/GB. Good for high volume.
|
|
179
94
|
|
|
180
|
-
|
|
95
|
+
When using your own proxy, set env vars:
|
|
181
96
|
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
|
|
97
|
+
```env
|
|
98
|
+
PROXY_HOST=your-proxy-host
|
|
99
|
+
PROXY_PORT=22225
|
|
100
|
+
PROXY_USER=your-username
|
|
101
|
+
PROXY_PASS=your-password
|
|
185
102
|
```
|
|
186
103
|
|
|
187
|
-
Requires residential proxy credentials β see [humanbrowser.dev](https://humanbrowser.dev) for plans.
|
|
188
|
-
For manual Bright Data setup, see [references/brightdata-setup.md](references/brightdata-setup.md).
|
|
189
|
-
|
|
190
104
|
---
|
|
191
105
|
|
|
192
106
|
## How it compares
|
|
@@ -199,20 +113,10 @@ For manual Bright Data setup, see [references/brightdata-setup.md](references/br
|
|
|
199
113
|
| Typing speed | Instant | 60β220ms/char |
|
|
200
114
|
| Fingerprint | Detectable bot | iPhone 15 Pro |
|
|
201
115
|
| Countries | None | 10+ residential |
|
|
202
|
-
| Cloudflare |
|
|
203
|
-
| DataDome |
|
|
204
|
-
| Agent payment | Manual | API-native |
|
|
205
|
-
|
|
206
|
-
---
|
|
207
|
-
|
|
208
|
-
## Links
|
|
209
|
-
|
|
210
|
-
- π Product page: [humanbrowser.dev](https://humanbrowser.dev)
|
|
211
|
-
- π¦ ClawHub: [clawhub.ai/al1enjesus/human-browser](https://clawhub.ai/al1enjesus/human-browser)
|
|
212
|
-
- π¦ npm: [@al1enjesus/human-browser](https://www.npmjs.com/package/@al1enjesus/human-browser)
|
|
213
|
-
- π skills.sh: [skills.sh/al1enjesus/human-browser](https://skills.sh/al1enjesus/human-browser)
|
|
214
|
-
- π¬ Support: [@virixlabs](https://t.me/virixlabs)
|
|
116
|
+
| Cloudflare | Blocked | Bypassed |
|
|
117
|
+
| DataDome | Blocked | Bypassed |
|
|
215
118
|
|
|
216
119
|
---
|
|
217
120
|
|
|
218
|
-
|
|
121
|
+
β **Product page + pricing:** https://humanbrowser.dev
|
|
122
|
+
β **Support & questions:** https://t.me/virixlabs
|
package/SKILL.md
CHANGED
|
@@ -235,6 +235,31 @@ console.log('IP:', ip); // Should show a residential IP from your target country
|
|
|
235
235
|
|
|
236
236
|
---
|
|
237
237
|
|
|
238
|
+
## Get Proxy Credentials
|
|
239
|
+
|
|
240
|
+
### Option 1: Human Browser Managed (recommended)
|
|
241
|
+
Buy directly at **humanbrowser.dev** β we handle everything, from $13.99/mo.
|
|
242
|
+
Supports crypto (USDT/ETH/BTC/SOL) and card. AI agents can auto-purchase.
|
|
243
|
+
|
|
244
|
+
### Option 2: Bring Your Own Proxy (affiliate)
|
|
245
|
+
Use our partner proxies β we earn a small commission at no cost to you:
|
|
246
|
+
|
|
247
|
+
- **Decodo** (ex-Smartproxy) β https://decodo.com/?ref=humanbrowser
|
|
248
|
+
Residential, ISP, datacenter. From $2.5/GB. Best for most use cases.
|
|
249
|
+
|
|
250
|
+
- **IPRoyal** β https://iproyal.com/?ref=humanbrowser
|
|
251
|
+
Budget residential from $1.75/GB. Good for high volume.
|
|
252
|
+
|
|
253
|
+
When using your own proxy, set env vars:
|
|
254
|
+
```env
|
|
255
|
+
PROXY_HOST=your-proxy-host
|
|
256
|
+
PROXY_PORT=22225
|
|
257
|
+
PROXY_USER=your-username
|
|
258
|
+
PROXY_PASS=your-password
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
238
263
|
## Setup
|
|
239
264
|
|
|
240
265
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "human-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Stealth browser with residential proxies from 10+ countries for AI agents. Bypasses Cloudflare, DataDome, PerimeterX. iPhone 15 Pro fingerprint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"browser-automation",
|
package/scripts/browser-human.js
CHANGED
|
@@ -36,13 +36,21 @@ const COUNTRY_META = {
|
|
|
36
36
|
|
|
37
37
|
function buildProxy(country = 'ro') {
|
|
38
38
|
const c = country.toLowerCase();
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
const
|
|
39
|
+
|
|
40
|
+
// Proxy config β use env vars or defaults
|
|
41
|
+
const PROXY_HOST = process.env.PROXY_HOST || 'brd.superproxy.io';
|
|
42
|
+
const PROXY_PORT = process.env.PROXY_PORT || '22225';
|
|
43
|
+
const PROXY_USER = process.env.PROXY_USER || `brd-customer-hl_b1694dd8-zone-mcp_unlocker${c !== 'ro' ? `-country-${c}` : ''}`;
|
|
44
|
+
const PROXY_PASS = process.env.PROXY_PASS || 'x8iy8mgsush8';
|
|
45
|
+
|
|
46
|
+
// Also support legacy env var names for backward compatibility
|
|
47
|
+
const server = process.env.PROXY_SERVER || `http://${PROXY_HOST}:${PROXY_PORT}`;
|
|
48
|
+
const username = process.env.PROXY_USERNAME || PROXY_USER;
|
|
49
|
+
const password = process.env.PROXY_PASSWORD || PROXY_PASS;
|
|
42
50
|
|
|
43
51
|
if (!username || !password) {
|
|
44
52
|
console.warn('β οΈ No proxy credentials set. Get them at: https://humanbrowser.dev');
|
|
45
|
-
console.warn(' Set
|
|
53
|
+
console.warn(' Set PROXY_USER and PROXY_PASS in your .env file.');
|
|
46
54
|
return null;
|
|
47
55
|
}
|
|
48
56
|
|
|
@@ -51,7 +59,7 @@ function buildProxy(country = 'ro') {
|
|
|
51
59
|
const hasCountry = username.includes('-country-');
|
|
52
60
|
const finalUser = hasCountry
|
|
53
61
|
? username.replace(/-country-\w+/, `-country-${c}`)
|
|
54
|
-
: `${username}-country-${c}
|
|
62
|
+
: username.includes('zone-') ? `${username}-country-${c}` : username;
|
|
55
63
|
|
|
56
64
|
return { server, username: finalUser, password };
|
|
57
65
|
}
|