From 43b912c195d5f970278acbecbebd4b39ff1a6140 Mon Sep 17 00:00:00 2001 From: eight Date: Tue, 12 Sep 2017 19:30:53 +0800 Subject: [PATCH] Fix: remove suffix check --- content/install-user-css.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/content/install-user-css.js b/content/install-user-css.js index a638f1b7..a8516782 100644 --- a/content/install-user-css.js +++ b/content/install-user-css.js @@ -270,9 +270,6 @@ function initUsercssInstall() { } function isUsercss() { - if (!/\.user\.(css|styl|less|scss|sass)$/i.test(location.pathname)) { - return false; - } if (!/text\/(css|plain)/.test(document.contentType)) { return false; }