We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09ab953 + 6cbd1bf commit 40f9c36Copy full SHA for 40f9c36
background.js
@@ -153,11 +153,11 @@ function generateGoogleHostREs () {
153
154
for (let googleDomain of GOOGLE_DOMAINS) {
155
googleDomain = googleDomain.replace(matchOperatorsRegex, '\\$&');
156
- googleHostREs.push(new RegExp(`(^|\.)${googleDomain}$`));
+ googleHostREs.push(new RegExp(`(^|\\.)${googleDomain}$`));
157
}
158
for (let youtubeDomain of YOUTUBE_DOMAINS) {
159
youtubeDomain = youtubeDomain.replace(matchOperatorsRegex, '\\$&');
160
- youtubeHostREs.push(new RegExp(`(^|\.)${youtubeDomain}$`));
+ youtubeHostREs.push(new RegExp(`(^|\\.)${youtubeDomain}$`));
161
162
163
0 commit comments