Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's a consequence of javascript being "good enough." Originally, the goal was for the web to support multiple languages (I think one prototype of the <script> tag had a "type=text/tcl") and IE supported VBScript for a while.

But at the end of the day, you only really need one, and the type attribute was phased out of the script tag entirely, and Javascript won.




Fair enough. Its use to denote other scripting languages was phased out.


You can still use it that way you just would either have a browser extension or a JavaScript file read the contents and use it. Here is a 2017 Stack Overflow thread for example: https://stackoverflow.com/questions/14015899/embed-typescrip...


BTW, over a third of court case management software in the US is run on VBScript hosted in IE7 compatibility mode.




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

Search: