mutterer / open-in-imagej-js-extension

Code for a Chrome extension that adds a 'Open in ImageJ.JS' button to GitHub Gist, GitHub repositories, and Zenodo *.tif datasets
6 stars 2 forks source link

Support loading content directly from URL #9

Open oeway opened 3 years ago

oeway commented 3 years ago

FYI: In the latest ImageJ.JS, we now support loading a compressed script directly from URL, so we don't need to serve the script from a server. This will be useful for supporting loading inline script with the chrome extension. I don't have a concrete use case for now, but for example, in a blog post, if we have a macro code snippet, we can use js to encode the script into a URL that can be shared.

See here for more details: https://github.com/imjoy-team/imagej.js#encoding-file-directly-to-the-url