Browser Management
Antigravity cung cấp các tính năng quản lý browser để Agent có thể tương tác với web một cách an toàn.
Chrome Extension
Antigravity Chrome Extension là bắt buộc để Agent có thể access browser.
Chức năng
- Cho phép Agent điều khiển browser
- Cho phép cancel browser tasks
- Cho phép chuyển focus về Antigravity
Cài đặt
Cách 1: Qua Chrome Web Store
- Được prompt tự động khi cần
- Click “Add to Chrome”
Cách 2: Thủ công
- Click Chrome icon trong Editor hoặc Manager
- Làm theo hướng dẫn
Verify Installation
- Mở Chrome Extensions (
chrome://extensions) - Tìm “Antigravity”
- Ensure extension is enabled
Separate Chrome Profile
Antigravity sử dụng Chrome profile riêng biệt để:
- Isolate browsing sessions
- Không share cookies với profile thường
- Persist sign-ins trong profile này
Đặc điểm
| Aspect | Profile thường | Antigravity Profile |
|---|---|---|
| Cookies | Shared | Isolated |
| Sign-ins | Personal | Agent-specific |
| History | Mixed | Agent sessions only |
| Extensions | Your extensions | Antigravity only |
Nhận biết
- Hiển thị như dock icon riêng
- Profile name: “Antigravity”
- Có thể thấy trong Chrome profile switcher
Storage Location
Có thể thay đổi nơi lưu profile trong Settings:
- Default:
~/.antigravity/chrome-profile - Custom: Set trong Settings > Browser
Allowlist / Denylist
Hệ thống bảo mật 2 lớp cho browser access.
Denylist (Server-side)
- Sử dụng Google’s BadUrlsChecker
- Enforce server-side - không thể bypass
- Block:
- Phishing sites
- Malware sources
- Known dangerous URLs
Allowlist (Local)
File text local bạn kiểm soát:
# ~/.antigravity/allowlist.txt
localhost
127.0.0.1
*.myapp.com
staging.example.comMặc định
Allowlist ban đầu chỉ có:
localhostThêm vào Allowlist
Cách 1: Khi được prompt
Agent wants to access: https://api.example.com
[Allow Once] [Always Allow] [Deny]- “Always Allow” → Thêm vào allowlist
- “Allow Once” → Cho phép lần này
- “Deny” → Block
Cách 2: Edit trực tiếp
echo "api.example.com" >> ~/.antigravity/allowlist.txtWildcards
*.example.com # All subdomains
api.*.example.com # Specific patternPriority
Denylist luôn được ưu tiên hơn Allowlist
Nếu URL nằm trong cả hai, nó sẽ bị block.
Best Practices
🔐 Security
- Minimal allowlist - Chỉ thêm URLs cần thiết
- Review định kỳ - Remove URLs không dùng
- Không trust wildcard rộng -
*.*là nguy hiểm
⚡ Performance
- Profile riêng giúp clean chrome state
- Ít extensions → faster browser operations
- Clear profile periodically để giữ lean
🐛 Troubleshooting
Extension không hoạt động:
- Check extension enabled
- Reload extension
- Restart Chrome
- Reinstall extension
Profile issues:
- Close all Chrome windows
- Delete profile folder
- Restart Antigravity (recreates profile)
URL blocked unexpectedly:
- Check denylist (server-side)
- Contact support nếu false positive
- Use alternative URL nếu có
Privacy
- Profile riêng = browsing history isolated
- Sign-ins trong Antigravity profile không ảnh hưởng profile thường
- Có thể delete profile để clear all data
Last updated on