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/urltest.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 data/tweaks/urltest.js (limited to 'data/tweaks/urltest.js') diff --git a/data/tweaks/urltest.js b/data/tweaks/urltest.js new file mode 100644 index 0000000..609e77b --- /dev/null +++ b/data/tweaks/urltest.js @@ -0,0 +1,5 @@ +function onBugzillaPage(url) { + return /https:\/\/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/ + .test(url) + || /https:\/\/landfill.*\.bugzilla\.org/.test(url); +} -- cgit