diff --git a/TGBeta.ps1 b/TGBeta.ps1 index e619208..11bda61 100644 --- a/TGBeta.ps1 +++ b/TGBeta.ps1 @@ -868,8 +868,7 @@ function GetHtmlContent { // Intercept window close or refresh window.addEventListener('beforeunload', (event) => { endSession(); // Clean up on window close - // Uncomment below for a confirmation dialog - event.returnValue = "Are you sure you want to leave?"; + }); function appendLog(message, color = "white") {