From 4d42765d6ca989e04a39696c066e6e12b8f1197d Mon Sep 17 00:00:00 2001 From: eight Date: Thu, 11 Oct 2018 23:55:16 +0800 Subject: [PATCH] fixup! Fix: match subdomain --- background/style-manager.js | 1 - 1 file changed, 1 deletion(-) diff --git a/background/style-manager.js b/background/style-manager.js index 1a505a12..bc959a49 100644 --- a/background/style-manager.js +++ b/background/style-manager.js @@ -386,7 +386,6 @@ const styleManager = (() => { } function urlMatchSection(url, section) { - // FIXME: match sub domains? const domain = getDomain(url); if (section.domains && section.domains.some(d => d === domain || domain.endsWith(`.${d}`))) { return true;