File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -852,6 +852,10 @@ def _set_chrome_options(
852
852
if headless or headless2 or is_using_uc (undetectable , browser_name ):
853
853
chrome_options .add_argument ("--disable-renderer-backgrounding" )
854
854
chrome_options .add_argument ("--disable-backgrounding-occluded-windows" )
855
+ chrome_options .add_argument (
856
+ '--disable-features=OptimizationHintsFetching,'
857
+ 'OptimizationTargetPrediction'
858
+ )
855
859
if (
856
860
is_using_uc (undetectable , browser_name )
857
861
and (
@@ -873,10 +877,6 @@ def _set_chrome_options(
873
877
chrome_options .add_argument (
874
878
"--disable-autofill-keyboard-accessory-view[8]"
875
879
)
876
- chrome_options .add_argument (
877
- '--disable-features=OptimizationHintsFetching,'
878
- 'OptimizationTargetPrediction'
879
- )
880
880
chrome_options .add_argument ("--homepage=about:blank" )
881
881
chrome_options .add_argument ("--dom-automation" )
882
882
chrome_options .add_argument ("--disable-hang-monitor" )
You can’t perform that action at this time.
0 commit comments