Zotero conflicts with Factlink
Hi,
I'm one of the developers of Factlink ( www.factlink.com ). We have an extension which enables you to annotate content. To do this, we add a hidden iframe somewhere. It seems that Zotero prefers this hidden iframe over the page it is inserted to however.
Since we got a report from one of our users to investigate if we could solve this, but since our iframe is within a div with visibility hidden, and zotero still prefers the iframe when it is set to display: none, I see no easy way for us to fix this.
Since our library also works standalone, I can also provide a proof of concept:
http://ijbema.home.fmf.nl/batman.html
If you use zotero from the address bar here, it saves "Factlink - ...." Instead of "Batman"
I'm one of the developers of Factlink ( www.factlink.com ). We have an extension which enables you to annotate content. To do this, we add a hidden iframe somewhere. It seems that Zotero prefers this hidden iframe over the page it is inserted to however.
Since we got a report from one of our users to investigate if we could solve this, but since our iframe is within a div with visibility hidden, and zotero still prefers the iframe when it is set to display: none, I see no easy way for us to fix this.
Since our library also works standalone, I can also provide a proof of concept:
http://ijbema.home.fmf.nl/batman.html
If you use zotero from the address bar here, it saves "Factlink - ...." Instead of "Batman"
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
So just to clarify, on that standalone example, the correct behavior wouldn't be to save as "Batman" from the address bar — it would just be for no address bar icon to appear, since there's no bibliographic metadata on that page. (The address bar icon isn't used for saving normal webpages to Zotero.) The only reason the icon is appearing is because the Embedded Metadata translator is finding some meta tags in your iframe. The Embedded Metadata translator has the lowest priority of any translator in Zotero, so it's likely that any page it's appearing doesn't actually have any data to save. But obviously it'd still be good to keep the icon from appearing on all webpages.
We could probably fix this on our end by having the translator architecture ignore iframes with an offsetHeight of 0. (At least, I think that'd be the right test.) I'll let others who might know better say whether that would cause problems with any known sites.
We should also probably do better screening when determining if there's anything importable on the page. None of the meta tags that are included in the iframes on that test page are actually imported. I'll see what we can do here to avoid showing the URL bar icon in such cases.