* Firefox allow CSP UserCSS install from anywhere. See #618 * Fix suffix extension
This commit is contained in:
parent
dd8c8d0ffb
commit
9c8970309d
|
@ -81,8 +81,8 @@ if (FIREFOX) {
|
||||||
// FF applies page CSP even to content scripts, https://bugzil.la/1267027
|
// FF applies page CSP even to content scripts, https://bugzil.la/1267027
|
||||||
navigatorUtil.onCommitted(webNavUsercssInstallerFF, {
|
navigatorUtil.onCommitted(webNavUsercssInstallerFF, {
|
||||||
url: [
|
url: [
|
||||||
{hostSuffix: '.githubusercontent.com', urlSuffix: '.user.css'},
|
{pathSuffix: '.user.css'},
|
||||||
{hostSuffix: '.githubusercontent.com', urlSuffix: '.user.styl'},
|
{pathSuffix: '.user.styl'},
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
// FF misses some about:blank iframes so we inject our content script explicitly
|
// FF misses some about:blank iframes so we inject our content script explicitly
|
||||||
|
|
Loading…
Reference in New Issue
Block a user