I need it to be public so I can load bundle.js
, produced by webpack
-ing https://www.gitlab.com/spellcard199/quiversinapot-mxgraph, using a bookmarklet.
In case you decided to run any code in this repository, I decline responsibility for any damage it may cause.
- Make new bookmarklet:
- Add any page to bookmarks (optionally, give it a meaningful name like “loadQipmx”)
- Change bookmark’s URL to:
javascript:fetch("https://raw.githubusercontent.com/spellcard199/quiversinapot-mxgraph-dist/master/bundle.js", {cache: "no-store"}).then(res => res.text()).then(txt => {eval(txt); window.qipmx.loadPlugin(false)})
- In a diagrams.net’s diagram, click on the bookmark
On gitlab.com, raw files are “CORS blocked”, while on github.com they are not.