diff options
Diffstat (limited to 'data/tweaks/cc-context.js')
-rw-r--r-- | data/tweaks/cc-context.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/tweaks/cc-context.js b/data/tweaks/cc-context.js new file mode 100644 index 0000000..81b0a2d --- /dev/null +++ b/data/tweaks/cc-context.js @@ -0,0 +1,8 @@ +self.on('click', function(node, data) { + var style = document.getElementById("bztw_cc"); + style.disabled = !style.disabled; +}); + +self.on('context', function(node) { + return onBugzillaPage(document.URL); +}); |