From 41502cb38495125bd99efa042f0759a45ac16e6b Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 18 May 2018 15:43:27 +0200 Subject: [PATCH 1/2] Added adyen.com to blacklisted domains because postMessages are blocking card encryption --- app/scripts/contentscript.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js index ddf1a9432..bf82205c1 100644 --- a/app/scripts/contentscript.js +++ b/app/scripts/contentscript.js @@ -166,7 +166,7 @@ function documentElementCheck () { /** * Checks if the current domain is blacklisted - * + * * @returns {boolean} {@code true} if the current domain is blacklisted */ function blacklistedDomainCheck () { @@ -175,6 +175,7 @@ function blacklistedDomainCheck () { 'dropbox.com', 'webbyawards.com', 'cdn.shopify.com/s/javascripts/tricorder/xtld-read-only-frame.html', + 'adyen.com' ] var currentUrl = window.location.href var currentRegex From 22753d96fd87b7bef8f30c1f778935e7ae39b492 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 18 May 2018 16:11:46 +0200 Subject: [PATCH 2/2] Added trailing comma for eslint --- app/scripts/contentscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js index bf82205c1..555902ddf 100644 --- a/app/scripts/contentscript.js +++ b/app/scripts/contentscript.js @@ -175,7 +175,7 @@ function blacklistedDomainCheck () { 'dropbox.com', 'webbyawards.com', 'cdn.shopify.com/s/javascripts/tricorder/xtld-read-only-frame.html', - 'adyen.com' + 'adyen.com', ] var currentUrl = window.location.href var currentRegex