From abedb9376d88cf5e9f6993b924d4df1c99aba44c Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Mon, 6 Mar 2023 02:00:27 +0800 Subject: [PATCH] f --- searx/webapp.py | 1244 +++++++++++++++++++++++++++++++++++++++++++++- searx/webapp1.py | 2 +- 2 files changed, 1244 insertions(+), 2 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index cd85b4321..f9e7a9aaa 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -1212,7 +1212,1249 @@ const search_type = "''' + search_type + r'''" const net_search = ''' + net_search_str + r''' const add_system = ''' + add_system +r''' diff --git a/searx/webapp1.py b/searx/webapp1.py index 89c328858..f9e7a9aaa 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1325,7 +1325,7 @@ function modal_open(url, num) let stopLoop = false; while (!stopLoop && iframe.contentWindow.PDFViewerApplication.pdfDocument==null) { - if (Date.now() - startTime > 30000) { + if (Date.now() - startTime > 120000) { stopLoop = true; } }