@m15o might be a way to go :)
i also thought of adding an 'open' button to the menu, that would open a link at cursor position.
Top-level
4 comments
@la_ninpre what a great idea!!! thanks for sharing! is there a csp problem when everything is in the same file? @m15o it's only my settings i guess. i think inline js requires "style-src 'unsafe-inline'" enabled, but i didn't want to enable it, because that whole point of setting up csp in the first place is avoiding inline js :) i think it's possible to also use sha256 hash and keep everything inline, but editing is harder then. i uploaded yon to my server just to share, i think i prefer using it locally from a single file. |
@m15o ...and i did exactly that.
https://aaoth.xyz/yon.html
(i put js into its own file so that csp works)