use "matches" since "include_globs" is buggy in FF

see #428
This commit is contained in:
tophf 2018-07-13 08:50:44 +03:00
parent 64d26481c3
commit 290ea9f1ee

View File

@ -72,12 +72,24 @@
"js": ["content/install-hook-openusercss.js"]
},
{
"matches": ["<all_urls>"],
"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,