We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following the docs https://docs.jabref.org/collect/jabref-browser-extension for Edge I had the following Errors/Warnings:
Extension options tab: Connection Status: Access to the specified native messaging host is forbidden
Connection Status: Access to the specified native messaging host is forbidden
Console error (When using the extension on ArXiv) TypeError: Cannot read property 'items' of null at [...] logError @ zotero.js:335
TypeError: Cannot read property 'items' of null at [...] logError @ zotero.js:335
Workaround solution
CMD: REG ADD "HKCU\Software\Microsoft\Edge\NativeMessagingHosts\org.jabref.jabref" /ve /t REG_SZ /d "C:\Program Files\JabRef\jabref-chrome.json" /f. Note: \Microsoft\Edge\ (not described in the docs);
REG ADD "HKCU\Software\Microsoft\Edge\NativeMessagingHosts\org.jabref.jabref" /ve /t REG_SZ /d "C:\Program Files\JabRef\jabref-chrome.json" /f
Open the Extension Options tab and copy the string after "?options=". It should be pgkajmkfgbehiomipedjhoddkejohfna. (different from the Chrome one);
This string should replace the one in the jabref-chrome.json file, that becomes:
jabref-chrome.json
{ "name": "org.jabref.jabref", "description": "JabRef", "path": "JabRefHost.bat", "type": "stdio", "allowed_origins": [ "chrome-extension://pgkajmkfgbehiomipedjhoddkejohfna/" ] }
So, I would add a jabref-edge.json file with the correct extension ID and update the docs.
jabref-edge.json
The text was updated successfully, but these errors were encountered:
A new json file is not needed, since it can have two origins. @nicoborghi can you test if it this works?
{ "name": "org.jabref.jabref", "description": "JabRef", "path": "JabRefHost.bat", "type": "stdio", "allowed_origins": [ "chrome-extension://pgkajmkfgbehiomipedjhoddkejohfna/", "chrome-extension://bifehkofibaamoeaopjglfkddgkijdlh/" ] }
Sorry, something went wrong.
@tobiasdiez Is the regex line something we can add at install? Like we do on the other systems..
A new json file is not needed, since it can have two origins. @nicoborghi can you test if it this works? { "name": "org.jabref.jabref", "description": "JabRef", "path": "JabRefHost.bat", "type": "stdio", "allowed_origins": [ "chrome-extension://pgkajmkfgbehiomipedjhoddkejohfna/", "chrome-extension://bifehkofibaamoeaopjglfkddgkijdlh/" ] }
Yes, it works!
Successfully merging a pull request may close this issue.
Following the docs https://docs.jabref.org/collect/jabref-browser-extension for Edge I had the following Errors/Warnings:
Extension options tab:
Connection Status: Access to the specified native messaging host is forbidden
Console error (When using the extension on ArXiv)
TypeError: Cannot read property 'items' of null at [...] logError @ zotero.js:335
Workaround solution
CMD:
REG ADD "HKCU\Software\Microsoft\Edge\NativeMessagingHosts\org.jabref.jabref" /ve /t REG_SZ /d "C:\Program Files\JabRef\jabref-chrome.json" /f
. Note: \Microsoft\Edge\ (not described in the docs);Open the Extension Options tab and copy the string after "?options=". It should be pgkajmkfgbehiomipedjhoddkejohfna. (different from the Chrome one);
This string should replace the one in the
jabref-chrome.json
file, that becomes:So, I would add a
jabref-edge.json
file with the correct extension ID and update the docs.The text was updated successfully, but these errors were encountered: