diff --git a/chrome/content/zotero/browser.js b/chrome/content/zotero/browser.js index fce82cda8..40e7f9d78 100644 --- a/chrome/content/zotero/browser.js +++ b/chrome/content/zotero/browser.js @@ -69,6 +69,10 @@ var Zotero_Browser = new function() { "ad.yieldmanager.com" ]; + var _locationBlacklist = [ + "zotero://debug/" + ]; + var tools = { 'zotero-annotate-tb-add':{ cursor:"pointer", @@ -338,6 +342,13 @@ var Zotero_Browser = new function() { catch (e) {} } + try { + if (_locationBlacklist.indexOf(doc.location.href) != -1) { + return; + } + } + catch (e) {} + // Figure out what browser this contentDocument is associated with var browser; for(var i=0; i