Email or username:

Password:

Forgot your password?
Top-level
la ninpre

@m15o ...and i did exactly that.

aaoth.xyz/yon.html

(i put js into its own file so that csp works)

3 comments
m15o

@la_ninpre what a great idea!!! thanks for sharing! is there a csp problem when everything is in the same file?

la ninpre

@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.

Go Up