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

couldn't you just embed the js directly into the html file though? that would sidestep the CORS error. and since most of the people using a program like this are likely to be using AI to generate their ( likely throwaway ) applets anyway, readability and maintainability for the source doesn't matter as much as it would with human authors so having a separate js file doesn't bring that many advantages anyway.
 help



Sharing HTML files with embedded Javascript is problematic: iOS users can't open the files directly, and have to save the file and then 'open with ... '.



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

Search: