From 851c7d592d2a5065bf6fc2aaa9f2186e2b13a8ba Mon Sep 17 00:00:00 2001 From: zoracon Date: Tue, 13 Jul 2021 11:05:07 -0700 Subject: [PATCH 1/3] Update translations. --- translations | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translations b/translations index a2eb2a055c77..a9479a6fd1c8 160000 --- a/translations +++ b/translations @@ -1 +1 @@ -Subproject commit a2eb2a055c7754b9dc414779566d2f4211a1346f +Subproject commit a9479a6fd1c84b9d1247315a3c8a6cff49494054 From 513017314613562d7133c92eb06d32d4d690e05d Mon Sep 17 00:00:00 2001 From: zoracon Date: Wed, 15 Dec 2021 12:15:40 -0800 Subject: [PATCH 2/3] Remove double prompt for EASE mode - alert after button click removed --- chromium/pages/cancel/ux.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chromium/pages/cancel/ux.js b/chromium/pages/cancel/ux.js index 259d6020f39b..621dedbf2b91 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; }); - } 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; }); - } return false; }); From 9982aa2ae9e7374141af6ec07723a35623ace07f Mon Sep 17 00:00:00 2001 From: zoracon Date: Wed, 15 Dec 2021 13:58:10 -0800 Subject: [PATCH 3/3] Fix spacing --- chromium/pages/cancel/ux.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/chromium/pages/cancel/ux.js b/chromium/pages/cancel/ux.js index 621dedbf2b91..d13dfdfb711a 100644 --- a/chromium/pages/cancel/ux.js +++ b/chromium/pages/cancel/ux.js @@ -52,9 +52,9 @@ function displayURL() { originURLLink.href = originURL; openURLButton.addEventListener("click", function() { - sendMessage("disable_on_site", url.host, () => { - window.location = originURL; - }); + sendMessage("disable_on_site", url.host, () => { + window.location = originURL; + }); return false; }); @@ -115,9 +115,9 @@ function displayURL() { }); openHttpOnce.addEventListener("click", function() { - sendMessage("disable_on_site_once", url.host, () => { - window.location = originURL; - }); + sendMessage("disable_on_site_once", url.host, () => { + window.location = originURL; + }); return false; });