From 9d776c3af1ad99cbaf276233d50c98d86e37f7e7 Mon Sep 17 00:00:00 2001 From: stoically Date: Thu, 29 Mar 2018 04:22:52 +0200 Subject: [PATCH] Fix RegExp again --- background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background.js b/background.js index 5272ca1..03d58bd 100644 --- a/background.js +++ b/background.js @@ -61,7 +61,7 @@ async function getMACAssignment (url) { function generateGoogleHostREs () { for (let googleDomain of GOOGLE_DOMAINS) { - googleHostREs.push(new RegExp(`^(.*)?${googleDomain}$`)); + googleHostREs.push(new RegExp(`^(.*\\.)?${googleDomain}$`)); } }