A Firefox/Chrome extension to open IIIF manifest link in your favorite IIIF viewer.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src
README.md
open_in_iiif_viewer.xpi

README.md

Open in IIIF Viewer

A Firefox/Chrome extension to open IIIF manifest link in your favorite IIIF viewer.

(This browser extension is formerly named “Open IIIF Manifest Link in Favorite Viewer.”)

Install

  • Firefox
    • Install (signed by Mozilla)
    • If you use Firefox ESR 52, please set webextensions.storage.sync.enabled to true in about:config.
  • Google Chrome

Usage

When the web page you are browsing contains a link to a IIIF manifest, by clicking on the toolbar button of this extension, you can open the link in the IIIF viewer specified on the options page.

screenshot_toolbar

By right-clicking on a link to the IIIF manifest, a context menu item “Open link in IIIF viewer” appears, which allows you to open the link in your preferred IIIF viewer.

screenshot_contextmenu

Options

On the options page, set the URL field depending on the IIIF viewer you would like to use mainly.

For example:

  • Open in IIIF Curation Viewer (default)
    • http://codh.rois.ac.jp/software/iiif-curation-viewer/demo/?manifest=
  • Open in Mirador (thanks to Kiyonori Nagasaki)
    • http://candra.dhii.jp/nagasaki/mirador_if.php?manifest=
  • Open in Universal Viewer
    • http://universalviewer.io/uv.html?manifest=
  • Open as JSON
    • Leave the URL setting field blank.

screenshot_options

Also, you can set a more complex pattern which contains placeholders {manifest_URI} and {canvas_URI}.

For example:

  • Open in IIIF Curation Viewer
    • http://codh.rois.ac.jp/software/iiif-curation-viewer/demo/?manifest={manifest_URI}&canvas={canvas_URI}&lang=en
  • Open in Mirador
    • http://2sc1815j.net/mirador-loader/?manifest={manifest_URI}&canvas={canvas_URI}
  • Open in Universal Viewer
    • http://2sc1815j.net/uv-loader/?manifest={manifest_URI}&canvas={canvas_URI}

Notes

On some web pages, the extension cannot recognize links to IIIF manifests or may misrecognize links to non-IIIF manifests.

This uncertainty is reduced if the IIIF community specifies (or recommends) the machine-readable patterns for a link to a IIIF manifest. See a proposal.

The list of IIIF websites on which the extension works or not is as follows.

Website Works? Example
Biblissima Yes test
Bodleian Libraries Yes1 test
Cambridge University Library Yes test
Digital Vatican Library Yes test
e-codices Yes test
Europeana Yes3 test
Gallica Yes3 test
Harvard Art Museums Yes test
Heidelberg University Library Yes test
J. Paul Getty Museum Yes test
Qatar Digital Library Yes test
Stanford Libraries Yes/Partial2 test/test
University of Illinois at Urbana-Champaign Library Yes test
Wellcome Library Yes test
World Digital Library Yes test
Yale Center for British Art Yes test

IIIF Websites in Japan

Website Works? Example
National Diet Library Digital Collections (NDL) Yes test
Database of Pre-modern Japanese Text (CODH) Yes test
Database of Pre-Modern Japanese Works (NIJL) Yes test
SAT Taishōzō Image DB (SAT Daizōkyō Text Database Committee) Yes test
Kunideco Image Wall (NDL Lab) Yes1 test
Collection for Study of the Japanese Language History (NINJAL) Yes2 test
Digital Collections of Keio University Libraries Yes test
Kyoto University Rare Materials Digital Archive Yes test
University of Tokyo Library System Yes test
Shimane University Library Digital Archive Collection Yes test
Kyushu University Collections Yes test

1: Though the tooltip of the toolbar button is not updated in real time, clicking on the button will open the correct manifest.

2: Use a context menu item “Open link in IIIF viewer” as needed.

3: Ad-hoc support.