From af9a8239914fb783ddd41a9dc571bd5fb2126050 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Thu, 28 Apr 2011 14:28:10 +0200 Subject: Reorganization. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fixingAttMIME, rhbzpage, xorgBugCategories moved to data/rhlib directory, * docs directory removed ... keep documentation in JSDocs; rewrite in MD is a waste of time. * move Ehsan’s scripts to separate data/tweaks directory. --- data/tweaks/cc-context.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 data/tweaks/cc-context.js (limited to 'data/tweaks/cc-context.js') 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); +}); -- cgit