Hacker News new | past | comments | ask | show | jobs | submit login

The script type is a possibility but you have to make it work. I've forgotten the details.



Back in the day, IE4 supported both javascript and vbscript. And from memory if you installed other eg ActivePerl (and ActivePython too I think), you could use them as well.


Since the browser will not react to these nodes, you can add some JS code that will detect them and hand off content interpretation to other mechanisms.


That's how React's JSXTransformer worked. You can also do the same for WebGL shaders:

<script type = "x-shader/x-fragment"> … </script>




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: