SVGC interactive-script example =============================== This example demonstrates __svg_sheet_add_script_file(). The user writes only change-color.js as plain UTF-8 JavaScript source. The C application registers that file with the SVG sheet; SVGC reads and copies it into a definition when serializing the SVG. After installing SVGC: make Open example.svg directly as an SVG document, or use view.html, which embeds it with . Click the red circle: the script changes its fill to blue. Loading the SVG with deliberately does not execute scripts in modern browsers. Opening local files may also be affected by browser security settings; a local HTTP server is an alternative for manual testing when the browser restricts file://. No binary scripts or external dependencies are bundled with the SVG. No JavaScript parser is part of the SVGC library; the viewer executes any embedded source in its normal security context.