Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Primo

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Primo
    3. Knowledge Articles
    4. How to add a DOI Button to the browser

    How to add a DOI Button to the browser

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description:

     

    • Product: Primo, SFX, Primo Central

     

    Description:

    The 'DOI button' is a saved link in the web browser which allows to search for DOI name and resolve it. It is based on JavaScrirpt and provides two options:
    1. A dialog box which is opened in which we type/paste the DOI number
    2. Highlighting a DOI that appears on Primo page without a need to type/paste it.

     

    Note: 
    Since the DOI Name Resolver Button is using JavaScript, the Security and Privacy settings, especially for Windows, will affect the performance of this tool. It might not operate properly with some browser version and platform version combinations.

     

    The JavaScript code is:

    
    javascript:Qr=window.getSelection?window.getSelection().toString():document.selection.createRange().text;if(!Qr){void(Qr=prompt('Enter%20DOI%20to%20resolve,%20e.g.%2010.1000/202:',''))}if(Qr){if(Qr.indexOf('doi://')==0)Qr=Qr.substr(6);if(Qr.indexOf('doi:')==0)Qr=Qr.substr(4)}if(Qr)location.href='http://dx.doi.org/'+escape(Qr)


    Instructions for Internet Explorer:
    1. Make sure that the Links toolbar is visible. (Right click on the toolbar and make sure that "Favorites" is checked.) 
    2. Enter any website, and Go to "Favorites" > "Add to Favorites".
    3. Once a favorite was created, right click on it and click on "properties".
    4. Change the URL to the JavaScript code. (The link contains a script. Windows may display a Security Alert. If so, select Yes to continue.) Use the default name or rename it per your convenience. 
    5. Depending on your IE security settings, you may be asked to confirm that you trust the scripted window when you use it.
    6. Resolve a DOI name in a displayed page by highlighting it and clicking on the DOI name button in your Internet Explorer Favorites toolbar. If you click on the button without selecting a DOI name, a dialog box will prompt you to select a DOI name to resolve.


    Instructions for Firefox:
    1. Go to "View"/"Toolbars"/"Menu Bar" to display the Bookmarks Toolbar. 
    2. Enter any website and add it to Bookmarks.
    3. Once a bookmark was created, right click on it and click on "properties".
    4. Change the URL to the JavaScript code. (The link contains a script. Windows may display a Security Alert. If so, select Yes to continue.) Use the default name or rename it per your convenience.
    5. You can now resolve a DOI name by highlighting it and clicking on the item in the toolbar, or clicking on the button and pasting the DOI name into the text box provided.

     

    Instructions for Chrome:
    1. Go to Bookmarks Manager (Ctrl  + Shift + O)
    2. Right Click on an empty place
    3. Add page
    4. Name – "DOI Button", Address - <Copy The JavaScript code>

    Test the button by either clicking on it or pasting 10.1000/261 into the text box, or by highlighting the string 10.1000/261 and then clicking on the DOI name button. Either should redirect your web browser to the DOI System Information Kit.

     

    (All the information was taken from this link - http://www.doi.org/resolver_button/doibutton.html)


    • Article last edited: 22-February-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to add a custom thumbnail template for a record in Primo?
      • How to add a Library drop-down to the Advanced Search
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Content Type
      Knowledge Article
      Language
      English
      Product
      Primo
    2. Tags
      1. Link Resolver
      2. openurl
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved