diff --git a/chrome/content/zotero/xpcom/translation/translate_firefox.js b/chrome/content/zotero/xpcom/translation/translate_firefox.js index 032108245..4f4930573 100644 --- a/chrome/content/zotero/xpcom/translation/translate_firefox.js +++ b/chrome/content/zotero/xpcom/translation/translate_firefox.js @@ -492,9 +492,7 @@ Zotero.Translate.SandboxManager.prototype = { "_canCopy":function(obj) { if(typeof obj !== "object" || obj === null) return false; - var proto = Object.getPrototypeOf(obj), - global = Components.utils.getGlobalForObject(obj); - if((proto !== global.Object.prototype && proto !== global.Array.prototype) || + if((obj.constructor.name !== "Object" && obj.constructor.name !== "Array") || "__exposedProps__" in obj) { return false; }