diff --git a/shared/modules/provider-injection.js b/shared/modules/provider-injection.js index 2a71762ad..eacae5cba 100644 --- a/shared/modules/provider-injection.js +++ b/shared/modules/provider-injection.js @@ -81,7 +81,7 @@ function blockedDomainCheck() { const currentUrl = window.location.href; let currentRegex; for (let i = 0; i < blockedDomains.length; i++) { - const blockedDomain = blockedDomains[i].replace('.', '\\.'); + const blockedDomain = blockedDomains[i].replaceAll('.', '\\.'); currentRegex = new RegExp( `(?:https?:\\/\\/)(?:(?!${blockedDomain}).)*$`, 'u',