From beeda31471cd21e380528b2ab469c9f160951c10 Mon Sep 17 00:00:00 2001 From: "Robert C. Maehl" Date: Sat, 9 Dec 2023 14:02:15 -0500 Subject: [PATCH] Add StartPage, Remove Darksky --- Includes/_URLModifications.au3 | 3 --- MSEdgeRedirect_Wrapper.au3 | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Includes/_URLModifications.au3 b/Includes/_URLModifications.au3 index 53b2742..3a0c94b 100644 --- a/Includes/_URLModifications.au3 +++ b/Includes/_URLModifications.au3 @@ -242,9 +242,6 @@ Func _ChangeWeatherProvider($sURL) Case "Custom" $sURL = _GetSettingValue("WeatherPath") & $fLat & "," & $fLong - Case "DarkSky" - $sURL = "https://darksky.net/forecast/" & $fLat & "," & $fLong & "/" - Case "Weather.com" $sURL = "https://weather.com/" & $sLocale & "/weather/today/l/" & $fLat & "," & $fLong diff --git a/MSEdgeRedirect_Wrapper.au3 b/MSEdgeRedirect_Wrapper.au3 index 9157d87..1bbb3dd 100644 --- a/MSEdgeRedirect_Wrapper.au3 +++ b/MSEdgeRedirect_Wrapper.au3 @@ -541,7 +541,7 @@ Func RunSetup($bUpdate = False, $bSilent = False, $iPage = 0, $hSetupFile = @Scr GUICtrlCreateGroup("Additional Redirections", 20, 200, 420, 210) Local $hNoImgs = GUICtrlCreateCheckbox("Bing Images:", 50, 220, 180, 20) Local $hImgSRC = GUICtrlCreateCombo("", 50, 240, 180, 20, $CBS_DROPDOWNLIST+$WS_VSCROLL) - GUICtrlSetData(-1, "Baidu|Brave|Custom|DuckDuckGo|Ecosia|Google|Sogou|Yahoo|Yandex", "Google") + GUICtrlSetData(-1, "Baidu|Brave|Custom|DuckDuckGo|Ecosia|Google|Sogou|StartPage|Yahoo|Yandex", "Google") GUICtrlSetState(-1, $GUI_DISABLE) Local $hSearch = GUICtrlCreateCheckbox("Bing Search:", 50, 265, 180, 20) Local $hEngine = GUICtrlCreateCombo("", 50, 285, 180, 20, $CBS_DROPDOWNLIST+$WS_VSCROLL) @@ -553,7 +553,7 @@ Func RunSetup($bUpdate = False, $bSilent = False, $iPage = 0, $hSetupFile = @Scr GUICtrlSetState(-1, $GUI_DISABLE) Local $hNoMSN = GUICtrlCreateCheckbox("MSN Weather:", 50, 355, 180, 20) Local $hWeather = GUICtrlCreateCombo("", 50, 375, 180, 20, $CBS_DROPDOWNLIST+$WS_VSCROLL) - GUICtrlSetData(-1, "AccuWeather|Custom|DarkSky|Weather.com|Weather.gov|Windy|WUnderground|Ventusky|Yandex", "Weather.com") + GUICtrlSetData(-1, "AccuWeather|Custom|Weather.com|Weather.gov|Windy|WUnderground|Ventusky|Yandex", "Weather.com") GUICtrlSetState(-1, $GUI_DISABLE) Local $hNoPDFs = GUICtrlCreateCheckbox("PDF Viewer:", 240, 220, 180, 20) Local $hPDFSrc = GUICtrlCreateCombo("", 240, 240, 180, 20, $CBS_DROPDOWNLIST+$WS_VSCROLL)