aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/lib/bzpage.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js
index f3f5e27..4bba873 100644
--- a/data/lib/bzpage.js
+++ b/data/lib/bzpage.js
@@ -358,13 +358,18 @@ function completeInit() {
function startup() {
// First, preflight check ... if we are not logged in, there
// is nothing we can do.
+ console.log("startup: Starting!");
var logoutLink = Array.some(document.links, function (x) {
return x.search === "?logout=1" ;
});
- if (!logoutLink) {
+ if (document.getElementById("brElementPlace_location")) {
+ console.error("Hit multiple firing protection!")
return null; // This should just finish whole content script without
// doing any harm to anybody.
}
+ else {
+ console.myDebug("Didn't hit multiple firing protection!");
+ }
// Prepare for query buttons
// element ID brElementPlace_location is later used in JSON files