From eae66cb1637f53ab2b813639b08c9997cc6e7955 Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 9 Nov 2022 22:54:55 +0100 Subject: [PATCH] great idee Augustin64 --- V4.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/V4.py b/V4.py index f27a5d8..9b88c6b 100755 --- a/V4.py +++ b/V4.py @@ -108,6 +108,8 @@ def FirefoxDriver(mobile=False, Headless=Headless): options = Options() options.set_preference("browser.link.open_newwindow", 3) + if FAST : + options.set_preference("permissions.default.image", 2) #disable image loading. May add this without the fast option soon if Headless: options.add_argument("-headless") if mobile :