From fa30840b0d8ac435343353b16eed30074bd1c9ab Mon Sep 17 00:00:00 2001 From: devingfx Date: Tue, 10 Jul 2018 01:47:17 +0200 Subject: [PATCH] Firefox compat --- README.md | 8 +++++--- app.html | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf8ce70..00a951c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,9 @@ node konstrui app.html kriptopter ### Standalone Open the file `kriptopter` in a browser. -_(Tested only under Iron/Chromium 63.0.3300.0, please do the test in other browser and submit an issue, with a minimum stack trace, if you want to help )_ +_(Tested only under Iron/Chromium 63.0.3300.0 and Firefox 60.0.2.6730, please do the test in other browser and submit an issue, with a minimum stack trace, if you want to help )_ + +> Note on Firefox: you have to activate web components disabled by default in `about:config`, you need to set `dom.webcomponents.customelements.enabled` and `dom.webcomponents.shadowdom.enabled` to `true` for the app to work. ### Bookmarklet @@ -31,8 +33,8 @@ node kompilo it will generate a `kriptoptlet` file containing the text to copy/paste in a new bookmark's url part. Or you can use the online version (not secure): -```html -bookmarklet online +``` +javascript: win=window.open('','','titlebar=no,location=no'); fetch('https://git.p2p.legal/dig/kriptopter/raw/master/kriptopter').then(res=>res.text()).then(app=>win.document.write(app) )) ``` ## Roadmap diff --git a/app.html b/app.html index 27a6908..a1063b0 100644 --- a/app.html +++ b/app.html @@ -1,6 +1,7 @@ Kriptopter Cryptopter Cryptoptère +