diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index a81b217887..98e6675e69 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -283,6 +283,7 @@ var Zotero_Preferences = { pane.scope = new Cu.Sandbox(window, { sandboxPrototype: window, sandboxName: pane.rawLabel || pane.id, + sameZoneAs: window, }); for (let script of pane.scripts) { Services.scriptloader.loadSubScript(script, pane.scope);