diff --git a/background/background.js b/background/background.js index a3542665..efc407ef 100644 --- a/background/background.js +++ b/background/background.js @@ -81,8 +81,8 @@ if (FIREFOX) { // FF applies page CSP even to content scripts, https://bugzil.la/1267027 navigatorUtil.onCommitted(webNavUsercssInstallerFF, { url: [ - {hostSuffix: '.githubusercontent.com', urlSuffix: '.user.css'}, - {hostSuffix: '.githubusercontent.com', urlSuffix: '.user.styl'}, + {pathSuffix: '.user.css'}, + {pathSuffix: '.user.styl'}, ] }); // FF misses some about:blank iframes so we inject our content script explicitly