Module noscript

Module noscript 

Source
Expand description

HTML endpoints that work without JavaScript.

Renders server-side HTML for upload confirmation, file listing, and reporting so the site works even when JS is disabled.

Structsยง

DeleteForm
FeedbackForm
ReportForm

Functionsยง

escape
Minimal HTML escaping for untrusted values rendered into pages.
feedback_submit_handler
POST /api/feedback - accept a feedback form submission and confirm with HTML.
fmt_bytes ๐Ÿ”’
page ๐Ÿ”’
report_form_handler
GET /report - native HTML report form (no JS required).
report_submit_handler
POST /report - accept a form report submission and confirm with HTML.
upload_confirmation_html
Render an HTML upload confirmation (used by the no-JS upload flow).
wants_html
True when the request prefers an HTML response (no-JS form submission).