Firefox compat

This commit is contained in:
devingfx 2018-07-10 01:47:17 +02:00
parent 7c3ba8c844
commit fa30840b0d
2 changed files with 6 additions and 3 deletions

View File

@ -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
<a href="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) ))">bookmarklet online</a>
```
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

View File

@ -1,6 +1,7 @@
<title eo>Kriptopter</title>
<title en>Cryptopter</title>
<title fr>Cryptoptère</title>
<meta charset="utf8"/>
<style lang="eo,en,fr">
[_lang_] { display: none; }
:root[lang=_lang_] [_lang_] { display: inherit; }