diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-28 14:28:10 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-06-05 14:47:40 +0200 |
commit | 7b6eefcd506ec03e1db422ca6e1f4f1bb8420d1c (patch) | |
tree | 3a4b3480ea513c37f98782dd62193f4379ff48aa /data/tweaks/urltest.js | |
parent | 55d9a312fbba91f1bcf5e3f3291b7bece8abb178 (diff) | |
download | bugzilla-triage-7b6eefcd506ec03e1db422ca6e1f4f1bb8420d1c.tar.gz |
Reorganization.
* 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.
Diffstat (limited to 'data/tweaks/urltest.js')
-rw-r--r-- | data/tweaks/urltest.js | 5 |
1 files changed, 5 insertions, 0 deletions
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); +} |