diff options
Diffstat (limited to 'skip-process-bug.js')
-rw-r--r-- | skip-process-bug.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/skip-process-bug.js b/skip-process-bug.js index 691d6d1..32d05b4 100644 --- a/skip-process-bug.js +++ b/skip-process-bug.js @@ -23,20 +23,3 @@ options.matches = [ "https://bugzilla.mozilla.org/post_bug.cgi", ]; jetpack.pageMods.add(callback, options); - -// "https://bugzilla.redhat.com/attachment.cgi", -// http://code.google.com/chrome/extensions/match_patterns.html sucks, we don't have $ - -// paths = pages.map(function(p) root + p + '.cgi'), -// collision = 'Mid-air collision!'; -// if (paths.some(function(p) doc.location == p) && doc.title != collision) { -// var $doc = $(doc), -// mail = $doc.find('#bugzilla-body > dl').text(), -// bug = $($doc.find('.bz_alias_short_desc_container > a')); -// /* Bail if we sense a disturbance. */ -// if (bug.size() != 0) { -// jetpack.notifications.show({title: 'Mail sent for ' + bug.text(), body: mail}); -// doc.location = root + bug.attr('href'); -// } -// } -//}); |