Skip to content

Commit

Permalink
clean up 403 comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gamebeaker committed Sep 20, 2024
1 parent 957d698 commit 97a5a40
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions plugin/js/HttpClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 97a5a40

Please sign in to comment.