diff options
-rw-r--r-- | data/js/urltest.js | 3 | ||||
-rw-r--r-- | lib/main.js | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/data/js/urltest.js b/data/js/urltest.js index f6a379a..a0dbabf 100644 --- a/data/js/urltest.js +++ b/data/js/urltest.js @@ -1,3 +1,4 @@ function onBugzillaPage(url) { - return /https:\/\/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/.test(url); + return /https:\/\/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/.test(url) + || /https:\/\/landfill.*\.bugzilla\.org/.test(url); }
\ No newline at end of file diff --git a/lib/main.js b/lib/main.js index bb40d7a..44265ff 100644 --- a/lib/main.js +++ b/lib/main.js @@ -41,7 +41,7 @@ var self = require("self"), exports.main = function(options, callback) { pageMod.PageMod({ - include: ["*.mozilla.org"], // filtered further in the page mod script + include: ["*.mozilla.org", "*.bugzilla.org"], // filtered further in the page mod script contentScriptWhen: 'ready', contentScriptFile: [self.data.url('js/urltest.js'), self.data.url('js/bug-page-mod.js')] |