Guides
Short fixes for problems I have hit, each checked against the versions it names.
Find a fix
Narrow the list: pick a technology, then a version, then the error you see. Pick any to skip a step. Or type after the cursor, paste an error, or try help.
Nothing here matches. cd / goes back to every guide.
Type to narrow the choices and the guides, or paste an error. Tab completes, ↑ ↓ choose, Enter opens, Backspace on an empty line goes back a step, Esc clears. Commands: cd .., cd /, cd <name>, clear and help.
Error or symptom
Matching guides
1 of 6
-
htmx hx-on fails: unsafe-eval is not an allowed source of script
Under a Content-Security-Policy with script-src 'self', htmx compiles hx-on attributes into a function at runtime and the browser refuses to run it. Moving the same code into a script file as an event listener fixes it.