From 97a5a407b3b46f8407fcb6f6939357b0ae76571a Mon Sep 17 00:00:00 2001 From: gamebeaker Date: Fri, 20 Sep 2024 23:44:11 +0200 Subject: [PATCH] clean up 403 comment --- plugin/js/HttpClient.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugin/js/HttpClient.js b/plugin/js/HttpClient.js index 0e12978b..9a0d1600 100644 --- a/plugin/js/HttpClient.js +++ b/plugin/js/HttpClient.js @@ -82,14 +82,6 @@ class FetchErrorHandler { let retryDelay = [120, 60, 30, 15]; switch(response.status) { case 403: - /* - if (confirm(chrome.i18n.getMessage("warning403ErrorResponse", new URL(response.url).hostname))) { - // Open site - window.open(new URL(response.url), "_blank").focus(); - alert(chrome.i18n.getMessage("wait403ErrorResponse", new URL(response.url).hostname)); - } else { - // Do nothing! - }*/ return {retryDelay: [1], promptUser: true, HTTP: 403}; case 429: FetchErrorHandler.show429Error(response);