diff --git a/src/browserExt/background.js b/src/browserExt/background.js index 350f8bd9e..9b613169d 100644 --- a/src/browserExt/background.js +++ b/src/browserExt/background.js @@ -27,13 +27,6 @@ if (!Zotero.isManifestV3) { browser.action = browser.browserAction; } -// Some websites break when injecting translation sandbox iframe into -// the website's first iframe (which we do for websites like ebscohost -// where often the translatable site is not the top frame, but first child frame). -const INJECTION_BLACKLIST = new Set([ - 'lastpass.com' -]) - Zotero.Connector_Browser = new function() { var _tabInfo = {}; var _incompatibleVersionMessageShown; @@ -265,10 +258,6 @@ Zotero.Connector_Browser = new function() { // Injected via the manifest file return; } else { - if (Zotero.isManifestV3) { - const host = new URL(url).host; - if (INJECTION_BLACKLIST.has(host)) return; - } let tabInfo = this.getTabInfo(tab.id); if (!tabInfo.frameChecked) { // Also in the first frame detected