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
Phần tiêu đề “Chrome Extension”Antigravity Chrome Extension là bắt buộc để Agent có thể access browser.
Chức năng
Phần tiêu đề “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
Phần tiêu đề “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
Phần tiêu đề “Verify Installation”- Mở Chrome Extensions (
chrome://extensions) - Tìm “Antigravity”
- Ensure extension is enabled
Separate Chrome Profile
Phần tiêu đề “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
Phần tiêu đề “Đặ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
Phần tiêu đề “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
Phần tiêu đề “Storage Location”Có thể thay đổi nơi lưu profile trong Settings:
- Default:
~/.antigravity/chrome-profile - Custom: Set trong Settings > Browser
Allowlist / Denylist
Phần tiêu đề “Allowlist / Denylist”Hệ thống bảo mật 2 lớp cho browser access.
Denylist (Server-side)
Phần tiêu đề “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)
Phần tiêu đề “Allowlist (Local)”File text local bạn kiểm soát:
localhost127.0.0.1*.myapp.comstaging.example.comMặc định
Phần tiêu đề “Mặc định”Allowlist ban đầu chỉ có:
localhostThêm vào Allowlist
Phần tiêu đề “Thê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
Phần tiêu đề “Wildcards”*.example.com # All subdomainsapi.*.example.com # Specific patternPriority
Phần tiêu đề “Priority”Denylist luôn được ưu tiên hơn Allowlist
Nếu URL nằm trong cả hai, nó sẽ bị block.
Best Practices
Phần tiêu đề “Best Practices”🔐 Security
Phần tiêu đề “🔐 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
Phần tiêu đề “⚡ Performance”- Profile riêng giúp clean chrome state
- Ít extensions → faster browser operations
- Clear profile periodically để giữ lean
🐛 Troubleshooting
Phần tiêu đề “🐛 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
Phần tiêu đề “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