diff options
Diffstat (limited to 'data/js/urltest.js')
-rw-r--r-- | data/js/urltest.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/js/urltest.js b/data/js/urltest.js new file mode 100644 index 0000000..a0dbabf --- /dev/null +++ b/data/js/urltest.js @@ -0,0 +1,4 @@ +function onBugzillaPage(url) { + return /https:\/\/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/.test(url) + || /https:\/\/landfill.*\.bugzilla\.org/.test(url); +}
\ No newline at end of file |