createProfileRandomFingerprint({"os": "win", "name": "My profile"}) | 创建带有随机指纹的配置文件。os 可选 win、mac 或 lin。然后调用 setProfileId(profile["id"]) 来运行它。 |
createProfileWithCustomParams({...}) | 使用你自己的参数创建配置文件,例如用户代理、分辨率和语言。 |
updateUserAgentToLatestBrowser(["PROFILE_ID"]) | 将配置文件的用户代理更新为最新的浏览器版本。 |
addGologinProxyToProfile("PROFILE_ID", "us") | 为配置文件添加来自指定国家/地区的 Gologin 代理。 |
changeProfileProxy("PROFILE_ID", {"mode": "http", "host": "...", "port": 8080, "username": "...", "password": "..."}) | 为配置文件设置你自己的代理。 |
addCookiesToProfile("PROFILE_ID", [...]) | 添加 Cookie,浏览器会在启动时导入。 |
refreshProfilesFingerprint(["PROFILE_ID"]) | 为配置文件生成新的指纹。 |
delete("PROFILE_ID") | 删除配置文件。 |