aboutsummaryrefslogtreecommitdiffstats
path: root/data/js/urltest.js
diff options
context:
space:
mode:
authorHeather Arthur <fayearthur@gmail.com>2011-02-15 11:59:54 -0800
committerHeather Arthur <fayearthur@gmail.com>2011-02-15 11:59:54 -0800
commit09842a06c5ff1fa1795877836c21ea928a8a7fcf (patch)
tree5b55be32c7cb18b5947e84e344ed31ea850a6a23 /data/js/urltest.js
parent61432c0d96b40993c27ec4fa3350532f6ae2cf34 (diff)
downloadbugzilla-triage-09842a06c5ff1fa1795877836c21ea928a8a7fcf.tar.gz
Update to new Addon SDK page-mod and context-menu modules
Diffstat (limited to 'data/js/urltest.js')
-rw-r--r--data/js/urltest.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/js/urltest.js b/data/js/urltest.js
new file mode 100644
index 0000000..f6a379a
--- /dev/null
+++ b/data/js/urltest.js
@@ -0,0 +1,3 @@
+function onBugzillaPage(url) {
+ return /https:\/\/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/.test(url);
+} \ No newline at end of file