This is an automated email from the git hooks/post-receive script.
alexishan pushed a commit to annotated tag 2022.5.24 in repository https-everywhere.
commit 53349d90ba09b37fe814dd931836dc6af0b6d42a Author: Alexis alexis@eff.org AuthorDate: Thu Dec 16 15:12:05 2021 -0800
Fix Double Prompt for EASE Mode (#20163)
* Update translations. * Remove double prompt for EASE mode - alert after button click removed * Fix spacing --- chromium/pages/cancel/ux.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/chromium/pages/cancel/ux.js b/chromium/pages/cancel/ux.js index 259d6020f3..d13dfdfb71 100644 --- a/chromium/pages/cancel/ux.js +++ b/chromium/pages/cancel/ux.js @@ -52,11 +52,9 @@ function displayURL() { originURLLink.href = originURL;
openURLButton.addEventListener("click", function() { - if (confirm(chrome.i18n.getMessage("cancel_open_page") + '?')) { - sendMessage("disable_on_site", url.host, () => { - window.location = originURL; - }); - } + sendMessage("disable_on_site", url.host, () => { + window.location = originURL; + });
return false; }); @@ -117,11 +115,9 @@ function displayURL() { });
openHttpOnce.addEventListener("click", function() { - if (confirm(chrome.i18n.getMessage("cancel_http_once") + '?')) { - sendMessage("disable_on_site_once", url.host, () => { - window.location = originURL; - }); - } + sendMessage("disable_on_site_once", url.host, () => { + window.location = originURL; + });
return false; });