From 9a89c7bee881a7f000b2b323580eb60353699906 Mon Sep 17 00:00:00 2001 From: piair Date: Mon, 28 Mar 2022 18:33:14 +0200 Subject: [PATCH] oops --- V4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/V4.py b/V4.py index cc01919..9dd8b10 100755 --- a/V4.py +++ b/V4.py @@ -89,8 +89,9 @@ def FirefoxPC(Headless = Headless): PC_USER_AGENT = ('Mozilla/5.0 (Windows NT 10.0; Win64; x64) ' 'AppleWebKit/537.36 (KHTML, like Gecko) ' 'Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134') - options.set_preference("general.useragent.override", PC_USER_AGENT) options = Options() + options.set_preference("general.useragent.override", PC_USER_AGENT) + options.set_preference("browser.link.open_newwindow", 3) if Headless :