diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/main.js | 12 | ||||
-rw-r--r-- | lib/util.js | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lib/main.js b/lib/main.js index abdc758..be4ff8d 100644 --- a/lib/main.js +++ b/lib/main.js @@ -115,8 +115,8 @@ var contentScriptLibraries = { "bugzilla.redhat.com": [ self.data.url("util.js"), self.data.url("color.js"), + self.data.url("rhbzpage.js"), self.data.url("bzpage.js") -// self.data.url("rhbzpage.js") ] }; @@ -136,4 +136,12 @@ libbz.initialize(libbz.config, function () { }); }); -tabs.open("https://bugzilla.redhat.com/show_bug.cgi?id=595017"); +pageMod.PageMod({ + include: [ + "https://bugzilla.redhat.com/process_bug.cgi" + ], + contentScriptWhen: 'ready', + contentScriptFile: self.data.url("skip-bug.js") +}); + +//tabs.open("https://bugzilla.redhat.com/show_bug.cgi?id=595017"); diff --git a/lib/util.js b/lib/util.js index 8556951..3532203 100644 --- a/lib/util.js +++ b/lib/util.js @@ -23,7 +23,7 @@ function getParamsFromURL (url, base) { var paramsArr = url.path.split("?"); if (paramsArr.length === 1) { return {}; - } + } // get convert URL parameters to an Object var params = {}, s = []; |