diff --git a/LuaMenu/widgets/api_internet_browser.lua b/LuaMenu/widgets/api_internet_browser.lua index c0f17c4d0..6809f5408 100644 --- a/LuaMenu/widgets/api_internet_browser.lua +++ b/LuaMenu/widgets/api_internet_browser.lua @@ -109,7 +109,11 @@ function BrowserHandler.AddClickableUrls(chatString, onTextClick, textTooltip) endIndex = urlEnd, OnTextClick = { function() - BrowserHandler.OpenUrl(urlString) + local function OpenURL() + Spring.Echo ("Opening URL: " .. urlString) + BrowserHandler.OpenUrl(urlString) + end + WG.Chobby.ConfirmationPopup(OpenURL, "Open URL: " .. " \n" .. " \n" .. urlString, nil, 615, 250, "Open", "Cancel") end } }