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:
yeongpin
2025-03-29 22:22:43 +08:00
parent 816a09d4de
commit ffff3bdeb1
3 changed files with 10 additions and 5 deletions

View File

@@ -203,9 +203,10 @@ def setup_driver(translator=None):
# Use incognito mode
co.set_argument("--incognito")
# Set random port
co.set_argument("--no-sandbox")
if sys.platform == "linux":
# Set random port
co.set_argument("--no-sandbox")
# Set random port
co.auto_port()