From 290ea9f1eea7c15dca064259ed48f8248e53ebc8 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 13 Jul 2018 08:50:44 +0300 Subject: [PATCH] use "matches" since "include_globs" is buggy in FF see #428 --- manifest.json | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index bb4979a3..74304674 100644 --- a/manifest.json +++ b/manifest.json @@ -72,12 +72,24 @@ "js": ["content/install-hook-openusercss.js"] }, { - "matches": [""], - "include_globs": [ - "*.user.css", - "*.user.styl", - "*.user.css\\?*", - "*.user.styl\\?*" + "matches": [ + "*://*/*.user.css", + "*://*/*.user.styl", + + "file://*/*.user.css", + "file://*/*.user.styl", + + "ftp://*/*.user.css", + "ftp://*/*.user.styl", + + "*://*/*.user.css?*", + "*://*/*.user.styl?*", + + "file://*/*.user.css?*", + "file://*/*.user.styl?*", + + "ftp://*/*.user.css?*", + "ftp://*/*.user.styl?*" ], "run_at": "document_idle", "all_frames": false,