JabRef
v5
v5
  • JabRef Bibliography Management
  • Installation
  • Getting started
  • Collect
    • Add entry manually
    • Add entry using an ID
    • Add entry using reference text
    • Searching externally using Online Services
    • Add entry using PDFs
    • Browser Extension
    • Import
      • Custom import filters
      • Import inspection window
  • Organize
    • Edit an entry
    • Groups
    • Keywords
    • Mark and grade
    • Comment on an entry
    • Searching within the library
    • Complete information using online databases
    • Manage associated files
    • Manage field names and their content
    • Best practices
    • Cleanup entries
    • Check integrity
    • Find duplicates
    • Merge entries
    • Save actions
  • Cite
    • BibTeX and biblatex
    • Pushing to external editor application
    • Export to Microsoft Word
    • OpenOffice/LibreOffice integration
  • Share
    • Sharing a Bib(la)TeX Library
    • Shared SQL Database
      • Migration of pre-3.6 SQL databases into a shared SQL database
    • Export
      • Custom export filters
    • Send as email
  • Configuration
    • Customize the citation key generator
    • Customize entry types
    • Customize general fields
    • Customize key bindings
    • Library properties
    • Entry preview setup
    • Manage external file types
    • Manage protected terms
    • The string editor
  • Advanced information
    • Main Window
    • Entry Editor
      • Links to other entries
      • The Bibtex / Biblatex source tab
      • The 'owner' field
      • Time stamp field
      • LaTeX Citations Tab
    • About BibTeX and its fields
    • Strings
    • Field content selector
    • URL and DOI links in JabRef
    • Command line use and options
    • Automatic Backup (.sav and .bak) and Autosave
    • XMP metadata support in JabRef
    • Remote operation
    • Custom themes
    • Journal abbreviations
    • New subdatabase based on AUX file
    • How to expand first names of an entry
    • Debugging your library file
    • Resources
    • License
    • Knowledge
      • MS Office Bibliography XML format
      • Comparison of the Medline (txt), Medline (xml), and RIS format
      • EndNote Export Filter
  • Frequently Asked Questions
    • Linux
    • Mac OS X
    • Windows
  • Discussion Forum
  • Contribute to JabRef
    • How to Improve the Help Page
    • How to translate the JabRef User Interface
Powered by GitBook
On this page
  • Installation and Configuration
  • Usage
  • Troubleshooting
  • In case you have Adblock Plus extension and Jabref extension doesn't work
  • In case script jabrefHost.py doesn't work
  • In case PowerShell script JabRefHost.ps1 cannot be executed due to ExecutionPolicy
  • Manual Installation
  • Windows
  • Linux
  • macOS

Was this helpful?

Edit on GitHub
Export as PDF
  1. Collect

Browser Extension

The official browser extension automatically identifies and extracts bibliographic information on websites and sends them to JabRef with one click.

PreviousAdd entry using PDFsNextImport

Was this helpful?

- - -

JabRef offers an official browser extension. It automatically identifies and extracts bibliographic information on websites and sends them to JabRef with one click.

When you find an interesting article through Google Scholar, the arXiv or journal websites, this browser extension allows you to add those references to JabRef. Even links to accompanying PDFs are sent to JabRef, where those documents can easily be downloaded, renamed, and placed in the correct folder. .

Installation and Configuration

Normally, you simply install the extension from the browser store and are ready to go.

- - -

While Chrome extensions can work in Edge (and will install), JabRef is configured to work with the Edge extension in the Edge Browser, and the Chrome extension in the Chrome Browser. It will not work if they are mixed.

Usage

After the installation, you should be able to import bibliographic references into JabRef directly from your browser. Just visit a publisher site or some other website containing bibliographic information (for example, ) and click the JabRef symbol in the Firefox search bar (or press Alt+Shift+J). Once the JabRef browser extension has extracted the references and downloaded the associated PDF's, the import window of JabRef opens.

You might want to configure JabRef so that new entries are always imported in an already opened instance of JabRef. For this, activate "Listen to remote operation on port" under the "Network" tab of the JabRef Preferences.

Troubleshooting

In case you have Adblock Plus extension and Jabref extension doesn't work

1) Go to . 2) Deactivate AdBlock plus extension for the whole domain (zotero.org) by clicking on the Adblock plus extension button and sliding the corresponding slider to allow adds on the whole domain. 3) Close and reopen the browser in order to reload all the extension and their settings. 4) Verify the functioning of the Jabref extension by visiting a page you know is working to extract its bibliographic data (for example, ) by pressing the extension button or Alt + Shift + J.

In case you encounter problems in this procedure refer to issue #241 on GitHub for further help.

In case script jabrefHost.py doesn't work

Error message bad interpreter: /usr/bin/python3: no such file or directory means that python3 is not installed at the expected location. Run which python3 to see if python3 is installed elsewhere. Then copy that path at the first line of jabrefHost.py maintaining #! prefix.

In case PowerShell script JabRefHost.ps1 cannot be executed due to ExecutionPolicy

Manual Installation

Most JabRef installations include the necessary files, so test the extension before proceeding with the following instructions. However, sometimes, a manual installation is necessary (e.g. if you use the portable version of JabRef). In this case, please take the following steps:

Windows

  1. Download the following files and copy them to the same directory as JabRef.exe

  2. Make sure that the correct file name of the JabRef.bat file is specified in JabRefHost.ps1 under $jabRefExe.

  3. Run the following command from the console (with the correct path to the jabref.json file):

    a. For Firefox support:

    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\NativeMessagingHosts\org.jabref.jabref" /ve /d "C:\path\to\jabref-firefox.json" /f

    b. For Chrome/Opera/Brave/Vivaldi and other chromium-based browser support:

    REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Google\Chrome\NativeMessagingHosts\org.jabref.jabref" /ve /d "C:\path\to\jabref-chrome.json" /f

    c. For Edge support:

    REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Edge\NativeMessagingHosts\org.jabref.jabref" /ve /t REG_SZ /d "C:\path\to\jabref.json" /f

    You may need to change the root HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER if you don't have admin rights.

Linux

Deb, RPM or Portable

      • /usr/lib64/mozilla/native-messaging-hosts/org.jabref.jabref.json (and /usr/lib/mozilla/native-messaging-hosts/org.jabref.jabref.json) to install with admin rights for all users

      • ~/.mozilla/native-messaging-hosts/org.jabref.jabref.json to install without admin rights for the current user

      • /etc/opt/chrome/native-messaging-hosts/org.jabref.jabref.json to install with admin rights for all users

      • ~/.config/google-chrome/NativeMessagingHosts/org.jabref.jabref.json to install without admin rights for the current user

      • /etc/chromium/native-messaging-hosts/org.jabref.jabref.json to install with admin rights for all users

      • ~/.config/chromium/NativeMessagingHosts/org.jabref.jabref.json to install without admin rights for the current user

      • /etc/opt/edge/native-messaging-hosts/org.jabref.jabref.json to install with admin rights for all users

      • ~/.config/microsoft-edge/NativeMessagingHosts/org.jabref.jabref.json to install without admin rights for the current user

  1. Open the file org.jabref.jabref.json with a text editor, and alter it so that its path variable matches the location of your jabrefHost.py file.

Snap

  1. Connect the appropriate plug for the selected browser:

    • Firefox: snap connect jabref:hostfs-mozilla-native-messaging-jabref

    • Chrome: snap connect jabref:etc-opt-chrome-native-messaging-jabref

    • Chromium: snap connect jabref:etc-chromium-native-messaging-jabref

    • Edge: snap connect jabref:etc-opt-edge-native-messaging-jabref

Flatpak

Browser

If the browser is installed as a snap or flatpak there is an extra step to enable the extension.

With Firefox installed as a snap (default in Ubuntu):

  • flatpak permission-set webextensions org.jabref.jabref snap.firefox yes

With Firefox installed as a flatpak:

  • Enable the following permission (Note that this will partially disable confinement):

    • via terminal command: flatpak override --user --talk-name=org.freedesktop.Flatpak org.mozilla.firefox

    • via Flatseal app: add org.freedesktop.Flatpak to the Session Bus Talk section for org.mozilla.firefox

macOS

      • /Library/Application Support/Mozilla/NativeMessagingHosts/org.jabref.jabref.json to install with admin rights for all users

      • ~/Library/Application Support/Mozilla/NativeMessagingHosts/org.jabref.jabref.json to install without admin rights for the current user

      • /Library/Google/Chrome/NativeMessagingHosts/org.jabref.jabref.json to install with admin rights for all users

      • ~/Library/Application Support/Google/Chrome/NativeMessagingHosts/org.jabref.jabref.json to install without admin rights for the current user

      • /Library/Application Support/Chromium/NativeMessagingHosts/org.jabref.jabref.json to install with admin rights for all users

      • ~/Library/Application Support/Chromium/NativeMessagingHosts/org.jabref.jabref.json to install without admin rights for the current user

      • /Library/Microsoft/Edge/NativeMessagingHosts/org.jabref.jabref.json to install with admin rights for all users

      • ~/Library/Application Support/Microsoft Edge {Channel_Name}/NativeMessagingHosts/org.jabref.jabref.json to install without admin rights for the current user

      The {Channel_Name} in Microsoft Edge {Channel_Name} must be one of the following values: Canary, Dev, Beta.

      When using the Stable release/channel, {Channel_Name} is not required.

  1. Check that the Python script works. In Terminal run /Applications/JabRef.app/Contents/Resources/jabrefHost.py. If there are no errors the script is working properly. Stop the script by pressing Ctrl + D.

Local JabRef installs

org.jabref.jabref.json directs the browser extension to a python script in the JabRef app, which is set to the most common install path by default (/Applications/JabRef.app/Contents/Resources/jabrefHost.py). If you have installed JabRef somewhere else, most likely to your local applications folder (~/Applications/JabRef), then you will need to update this path to the correct location. For example, in local installs this would be /Users/USER/Applications/JabRef.app/Contents/Resources/jabrefHost.py, where USER is your username.

Check your ExecutionPolicy by using Get-ExecutionPolicy -List in PowerShell. If you get something else than Undefined for your MachinePolicy, changes are high that this policy is set by Microsoft Group Policy. In this case the option -ExecutionPolicy Bypass in JabRefHost.bat won't work. If your MachinePolicy says AllSigned you can self-sign your JabRefHost.ps1 script, by following tutorials like .

Make sure you have at least installed.

Install the JabRef browser extension: , , ,

Download and install the Debian package of (>= 5.0).

Install the JabRef browser extension: , , ,

Firefox: Download and put it into

Chrome and Brave: Download and put it into

Note: Brave is using the Google file structure for NativeMessagingHosts, see .

Chromium: Download and put it into

Edge: Download and put it into

Install the snap package of (>= 5.0).

Install the JabRef browser extension: , , ,

Install the flatpak of .

Install the JabRef browser extension: , , ,

Download and install the DMG package of (>= 5.0).

Install the JabRef browser extension: , , ,

Firefox: If it's not auto-installed for you, download and put it into

Chrome and Brave: If it's not auto-installed for you, download and put it into

Note: Brave is using the Google file structure for NativeMessagingHosts, see .

Chromium based: If it's not auto-installed for you, download and put it into

Edge: If it's not auto-installed for you, download and put it into

Firefox
Chrome
Edge
Vivaldi
A wide range of publisher sites, library catalogs, and databases are supported
Firefox
Chrome
Edge
Vivaldi
the arXiv
zotero.org
the arXiv
windows-10-signing-a-powershell-script-with-a-self-signed-certificate
JabRef 5.0
Firefox
Chrome
Edge
Vivaldi
jabref-firefox.json
jabref-chrome.json
JabRef.bat
JabRef.ps1
JabRef
Firefox
Chrome
Edge
Vivaldi
org.jabref.jabref.json
org.jabref.jabref.json
Github Issue
org.jabref.jabref.json
org.jabref.jabref.json
JabRef
Firefox
Chrome
Edge
Vivaldi
JabRef
Firefox
Chrome
Edge
Vivaldi
JabRef
Firefox
Chrome
Edge
Vivaldi
org.jabref.jabref.json
org.jabref.jabref.json
Github Issue
org.jabref.jabref.json
org.jabref.jabref.json