mirror of
https://git.axenov.dev/mirrors/cursor-free-vip.git
synced 2026-01-19 20:07:28 +00:00
Update block_domain.txt to include corhash.net and mailshou.com; modify new_signup.py and new_tempemail.py to conditionally set the --no-sandbox argument for Linux platforms.
This commit is contained in:
@@ -18,3 +18,5 @@ drewzen.com
|
||||
begemail.com
|
||||
dugmail.com
|
||||
solerbe.net
|
||||
corhash.net
|
||||
mailshou.com
|
||||
@@ -203,6 +203,7 @@ def setup_driver(translator=None):
|
||||
# Use incognito mode
|
||||
co.set_argument("--incognito")
|
||||
|
||||
if sys.platform == "linux":
|
||||
# Set random port
|
||||
co.set_argument("--no-sandbox")
|
||||
|
||||
|
||||
@@ -107,6 +107,8 @@ class NewTempEmail:
|
||||
# 创建浏览器选项
|
||||
co = ChromiumOptions()
|
||||
co.set_argument("--headless=new")
|
||||
|
||||
if sys.platform == "linux":
|
||||
co.set_argument("--no-sandbox")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user