Error: Zotero can't access HTMLDocument.location during translation ScienceDirect
Zotero bug id 2111048607
Chrome code from the link below causes the problem
http://pastebin.mozilla.org/521892
1. In firefox open page below:
http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6V9F-3X23DYK-5&_user=32401&_origUdi=B6T04-4BBMWVH-1&_fmt=high&_coverDate=11%2F30%2F1999&_rdoc=1&_orig=article&_version=1&_urlVersion=0&_userid=32401&md5=eea0158bc56a4636b4e5235d9bfedcaa
2. Translate page to Zotero's reference.
for more details see: https://bugzilla.mozilla.org/show_bug.cgi?id=451550
Chrome code from the link below causes the problem
http://pastebin.mozilla.org/521892
1. In firefox open page below:
http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6V9F-3X23DYK-5&_user=32401&_origUdi=B6T04-4BBMWVH-1&_fmt=high&_coverDate=11%2F30%2F1999&_rdoc=1&_orig=article&_version=1&_urlVersion=0&_userid=32401&md5=eea0158bc56a4636b4e5235d9bfedcaa
2. Translate page to Zotero's reference.
for more details see: https://bugzilla.mozilla.org/show_bug.cgi?id=451550
At the very least, we'll look into it and see if there's anything we can do in the name of defensive coding.
I encountered a similar problem using the Zotero and NoScript addons.
NoScript appears to block access to specific webpage elements that are required by zotero translators for retrieving and saving bibliographic information.
Example: Bibliographic information on the page
http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6TWD-4090JBT-4&_user=10&_rdoc=1&_fmt=&_orig=search&_sort=d&view=c&_acct=C000050221&_version=1&_urlVersion=0&_userid=10&md5=cb0160e5585d094c7493e47726c3fb87
cannot be stored by zotero tranlators.
The same error message results: "Permission denied to get property HTMLDocument.location"
although Scripts and XSS are allowed for the sciencedirect.com website.
If I deactivate NoScript completely, zotero works fine.
But this is, of course, not an acceptable solution.
What page elements might be blocked by NoScript?
Can you give advice how to solve the problem?
Thanks!
Zottl.
One of the addons.mozilla.org reviews of the NewTabURL extension says, "Does not seem to work if RoboForm is running. Works fine if Roboform is removed." So clearly this affects more than just Zotero.
their final replay was as follows:
John replied (2008/08/21 08:42 am EST)
I have found that problem is caused by Firefox.
And have create new bug in Mozilla bugtracker:
https://bugzilla.mozilla.org/show_bug.cgi?id=451550
You wrote (2008/08/15 04:34 am EST)
hello again
i'm using firefox 3.0.1 with zotero 1.07 and roboform 6.9.90 addon in winxp-sp3.
zotero addon for firefox is downloaded on http://www.zotero.org/
it's reference addon for academic use.
after installing go for instance to :
http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6V9F-3X23DYK-5&_user=32401&_origUdi=B6T04-4BBMWVH-1&_fmt=high&_coverDate...
...=11%2F30%2F1999&_rdoc=1&_orig=article&_version=1&_urlVersion=0&_userid=32401&md5=eea0158bc56a4636b4e5235d9bfedcaa
after the page is fully loaded, you'll see a small sheet icon in the address-bar on the right hand side (next to the bookmark star).
when you press this icon zotero will translate this web page into a reference.
BUT if the roboform addon is installed an error will occur, and the translation will fail. when i disable the roboform addon, zotero will retun to function normally.
you can find another description for this problem at:
http://forums.zotero.org/discussion/3600/?Focus=15363#Comment_15363
again many thanks
I really enjoy you product
====================================================================
John replied (2009/02/04 10:46 am EST):
The problem will be fixed in a next version of Roboform Adapter for Firefox.
It will be a pack of changes with a heavyweight API improvements and serious compatibility fixes. It is now on beta stage.
We will send you a working version to test in a week.
====================================================================
Let's see what happens...
New adapter XPI file is linked below. It is beta version so we recommend to use it only for testing.
The bug with Zotero is fixed but adapter has still some other regressions.
http://support.roboform.com/php/rtss/files/bc0e24992eaf4830fa5a25f5c0290ea7/roboform-firefox-3.0.xpi
i tried the new roboform adapter (in sciencedirect.com) and it's working great!!!
thanks everyone!